It compiles successfully but when I actually run the program an error comes up. I'm using Dev-C++.
It compiles successfully but when I actually run the program an error comes up. I'm using Dev-C++.
Well, I got 5 errors in compilation:
cannot find conio.h
undefined: sinese1, sinese2, sinadd and tissue.
i commented out conio.c and declared the vars as globals. The program then proceeded to tell me that 3+4 was 0.
Current Setup: Win 10 with Code::Blocks 17.12 (GNU GCC)
>cout << sinese1 << " + " << sinese2 << "= " << sinadd;
cout << sinese1 << " + " << sinese2 << "= " << sinese1+sinese2;
should be condensed intoCode:switch(mainresponse) { case 1: //do whatever } switch(mainresponse){ case 2: //do whatever }
Code:switch(mainresponse){ case 1: //do whatever case 2: //do whatever }
can someone revise it and e-mail it to me at [email protected]