May 18, 2013 at 3:54am UTC
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 UTC
May 18, 2013 at 4:19am UTC
It worked :o thank you!
Topic archived. No new replies allowed.
General C++ Programming
© cplusplus.com, 2000-2017 - All rights reserved -
Spotted an error? contact us