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
Something other then system("PAUSE")
Something other then system("PAUSE")
Dec 24, 2008 at 11:41pm UTC
II15X
(36)
I read the forum about console closing down, and it just got out of wack... But I am looking for something
simple
... I tried
get.line;
but it doesn't work? Any advice would be lovely
So far, I only know:
system(
"PAUSE"
);
get.line;
Dec 24, 2008 at 11:44pm UTC
Bazzy
(6281)
You may mean
cin.get()
but the best thing should be
cin.ignore()
Dec 24, 2008 at 11:53pm UTC
II15X
(36)
Yea, I found that out about 5 seconds ago, forgot about the (), but whats cin.ignore()? i know cin.get() works well now
Dec 25, 2008 at 12:06am UTC
Bazzy
(6281)
It was explained in the second post of
http://www.cplusplus.com/forum/beginner/1988/
Topic archived. No new replies allowed.