cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
cin.get();
cin.get();
May 18, 2013 at 3:54am UTC
HighbrowManiac
(4)
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
Ssturges
(75)
try:
1
2
3
cin.get(); cin.ignore();
return
0;
May 18, 2013 at 4:19am UTC
HighbrowManiac
(4)
It worked :o thank you!
Topic archived. No new replies allowed.