wattm
asked on
C++ Source Code for Calculator
Looking for C++ Source Code for a four function (add,subtract, multiply, divide) calculator using classes can anyone help me, PLEASE!!!!!
Additional info: application to simulate a simple four function electronic calculator, must contain two registers to store operands in use, one register to store result of arithmetic operation, a register to store error state
and a register to store name of most recent arithmetic operation. Program is to have an object-oriented approach
Additional info: application to simulate a simple four function electronic calculator, must contain two registers to store operands in use, one register to store result of arithmetic operation, a register to store error state
and a register to store name of most recent arithmetic operation. Program is to have an object-oriented approach
ASKER
Edited text of question
This is a common example in many introductory books, includeing "The C++ Programming Language" by Bjarne Stroustrup.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you talking about parsing a string like "234*(2+5)/9" and then calculating the final result ??
I think you should make yourself a little more clear... ok??