What's Here?
- Members: 300,347
- Replies: 825,715
- Topics: 137,409
- Snippets: 4,417
- Tutorials: 1,147
- Total Online: 1,529
- Members: 115
- Guests: 1,414
|
Output windows remains open until you press enter.
|
Submitted By: Xing
|
|
Rating:
   
|
|
Views: 4,826 |
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
|
|
|
|