You Can use this in your console program:
use that before "return 0;"Code:system("pause")
Printable View
You Can use this in your console program:
use that before "return 0;"Code:system("pause")
Was this a question? Or an answer to another thread?
when you run it instead of pushing F5 push Ctrl F5....or make your own quit sequence like
(#include<conio.h>) i think
cout<<"Press any key to continue."<<endl;
getch();
:)
This looks like a reply to the "c++ quits on me" thread, which is closed for some reason :confused: