What's Here?
- Members: 307,138
- Replies: 841,864
- Topics: 140,688
- Snippets: 4,468
- Tutorials: 1,165
- Total Online: 1,809
- Members: 103
- Guests: 1,706
|
Output windows remains open until you press enter.
|
Submitted By: Xing
|
|
Rating:
   
|
|
Views: 4,895 |
Language: C++
|
|
Last Modified: December 2, 2006 |
Snippet
#include <iostream>
#include <limits>
int main() {
// Rest of the code
//Clean the stream and ask for input
std::cin.ignore ( std::numeric_limits<std::streamsize>::max(), '\n' );
std::cin.get();
}
Copy & Paste
|
|
|
|