Ok, cool thanks man![]()
might want to change your cout to reflect the change to, something like:
cout << "Input an equation to solve, eg. ( 1 + 2 )" << endl;
Ok, cool thanks man![]()
PowerBook G4
- 867MHz G4, 640MB, 80GB HD, 80GB EHD, SuperDrive, Airport, Mac OS X 10.4.8
_______________________________________________________________
I had problems when I ran your code. I fixed it by giving your variables a value of 0 when it is being declared. The computer automatically assignes each variable some number so the calculation was wrong. also add this to the end of your code
system ("pause");
result 0;
Systems:
• 2.5 GHz MacBook Pro Core 2 Duo, 4 GB RAM, 320 GB hard drive, runs 10.6.8
• 1.6 GHz iMac G5, 1.5 GB RAM, 120 GB hard drive, runs 10.4.11 (out of commission)
• iPhone 4, 16 GB, iOS 4.3.5
Bookmarks