Whenever I create a C program in DevC++ and don't use getchar() directly before the return statement the program disappears. Is there a compiler option or something I can change so I don't need to add this everytime?
-Fool
This is a discussion on Do I always need to use getchar()? within the C Programming forums, part of the General Programming Boards category; Whenever I create a C program in DevC++ and don't use getchar() directly before the return statement the program disappears. ...
Whenever I create a C program in DevC++ and don't use getchar() directly before the return statement the program disappears. Is there a compiler option or something I can change so I don't need to add this everytime?
-Fool