>> cin << math_operator;
you used the output operator, not input. You meant this:
cin >> math_operator;
>> case 's': main()
Not allowed to call function main() in either c or c++. You will have to think of a different way to restart the program.
Last edited by Ancient Dragon; Jun 25th, 2006 at 8:44 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Offline 21,963 posts
since Aug 2005