0
Solution to " Return code is not 0" prompt
I composed a sample code on CppDroid( to get practice at typing codes) and when i tried to execute it I got a "Return code is not 0" response. The person that created it used it on a Linux system if that helps...any suggestions?
4 odpowiedzi
+ 2
It's hard to tell without seeing any code, maybe main didnt return 0.
+ 1
may be u can used getch();
but must declare in header file #include<conio.h>
0
try to change "int main " to void main and compile. Okay? plz maje sure to like my posts its of great help to encourage me.
0
I am practicing to code in CppDroid and whenever I include iostream.h file in my code it shows
(return code is not 0) and if I remove that I can't use the cin function