[try Beta version]
Not logged in

 
cin.get();

May 18, 2013 at 3:54am
Whenever I want to stop my program from closing, I put cin.get(); before return 0;

I don't know why, but sometimes it will work and sometimes it won't even allow me to open the program.
May 18, 2013 at 4:15am
try:
1
2
3
cin.get();
cin.ignore();
return 0;

May 18, 2013 at 4:19am
It worked :o thank you!
Topic archived. No new replies allowed.