#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();
}
Stopping Output Window
Page 1 of 14 Replies - 109 Views - Last Post: 24 February 2010 - 10:01 PM
#1
Stopping Output Window
Posted 02 December 2006 - 05:19 PM
Description: Output windows remains open until you press enter.
Replies To: Stopping Output Window
#2
Re: Stopping Output Window
Posted 03 March 2009 - 08:36 AM
why is it so long? What does it actually do?
#3
Re: Stopping Output Window
Posted 14 July 2009 - 12:35 AM
total discription of c and c++
#4
Re: Stopping Output Window
Posted 24 February 2010 - 03:42 PM
It is like pause but much more efficient...nay?
#5
Re: Stopping Output Window
Posted 24 February 2010 - 10:01 PM
Not efficient. Safer and not platform-dependant.
Page 1 of 1

New Topic/Question
Reply



MultiQuote





|