What's Here?
- Members: 117,573
- Replies: 431,933
- Topics: 66,689
- Snippets: 2,395
- Tutorials: 631
- Total Online: 2,038
- Members: 58
- Guests: 1,980
Who's Online?
|
Welcome to Dream.In.Code |
|
|
Getting C++ Help is Easy!
Join 117,573 C++ Programmers for FREE! Ask your question and get quick answers from experts. There are 2,038 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!
|
Output windows remains open until you press enter.
|
Submitted By: Xing
|
|
Rating:
  
|
|
Views: 3,016 |
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
|
|
|
Reference Sheets
Bye Bye Ads
Free DIC T-Shirt
Related Sites
Monthly Drawing
Partners
Top Contributors
Top 10 Kudos This Month
|