Calc.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
I get this error running my small program.Nothing is picked up in the debugger, and i'm pretty sure its here in my code:
Here I get a "-1-", then input, then it gives me the error and NO "-2-" on the consolePHP Code:char c;
cout << "\nii) What do you want to do to " << a << "?\n\n";
cout << " A) Add something to it?\n";
cout << " B) Take something off it?\n";
cout << " C) Multiply it by something?\n";
cout << " D) Divide it by something?\n";
cout << " E) Find a percentage of it?\n";
cout << " F) Raise it to a power?\n";
cout << " G) Find the square root?\n";
cout << " H) Round it off?\n\n ";
cout << "-1-\n";
cin >> c;
cout << "-2-\n";
![]()
I'm new to c++ and i have no idea whats causing this
Thanx for any help![]()




Nothing is picked up in the debugger, and i'm pretty sure its here in my code:
Reply With Quote