Hi guys:)

I have an assignment about making an operand stack using c++ which receives a mathematical expression like ((3+2)*(5+6-2))
and the program gives the solve of that exp.

the problem I have faced is how to change a character to an integer ?
and how I can start?

use the function : isalpha()

Hi guys:)

I have an assignment about making an operand stack using c++ which receives a mathematical expression like ((3+2)*(5+6-2))
and the program gives the solve of that exp.

the problem I have faced is how to change a character to an integer ?
and how I can start?