[求助]需要用C++做一个类似calculator的程式
刚刚开学,老师就要我们用C++做一个类似计算机( calculator ) 的程式。
You are required to write a program to implement the EXPRESSION EVALUATION problem above using an appropriate data structure. Your program must include the functionalities to enable the user to evaluate any expression with the following minimum assumptions
* Operands may be negative
* Operators must include (^, %, *, /, +, -,)
* Test for division by zero
* Parenthesis Checking
* Allow Sin, Cos and Tan values
我是新手,对C++或其它语言不是很行。请大家可以帮帮忙,教教我需要注意什么,或是怎样做这个程式。谢谢!