I would like to design a program to implement a string of operation, such as:
1+3/4+5*5-(454*23-34)
Then, it returns a correct answer.
And what's the exact algorithms?
Always an interesting project. This sort of thing is called a "Function Parser" and there is a good C++ discussion at:
http://www.students.tut.fi/~warp/FunctionParser/
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.