What's Here?
- Members: 148,670
- Replies: 504,783
- Topics: 79,485
- Snippets: 2,661
- Tutorials: 705
- Total Online: 1,605
- Members: 83
- Guests: 1,522
|
Output windows remains open until you press enter.
|
Submitted By: Xing
|
|
Rating:
  
|
|
Views: 3,390 |
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
|
|
|
Be Social
Reference Sheets
Bye Bye Ads
Monthly Drawing
Top Contributors
Top 10 Kudos This Month
|