Hi every one i have a problem with this program the conslo window disappear automatically without waiting , Im using return 0; function but it does not work
yoyo.albeatiy
0
Newbie Poster
Recommended Answers
Jump to PostThis thread discusses it at length:
http://www.cplusplus.com/forum/beginner/1988/The first suggestion, to have
std::cout << "Press ENTER to continue..."; std::cin.ignore( std::numeric_limits<std::streamsize>::max(), '\n' );
right before your
…
return 0;
All 4 Replies
Moschops
683
Practically a Master Poster
Featured Poster
saharsweeto
0
Newbie Poster
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
saharsweeto
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.