Implementation of the eval function in C++. The reverse Polish notation algorithm was used. Here is an article in Russian that I used to understand how the algorithm works

Available arithmetic symbols: ‘+’, ‘-‘, ‘*’, ‘/’, ‘%’, “**”;

“**” – exponentiation