Re: [Dev-C++] cout statement not displaying even when the system pauses
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <ten...@ne...> - 2003-10-25 12:42:25
|
I don't see anything wrong in your code. See what happens if you rewrite it in another source. >I don't remember about iostream, but C output primitives are >line-buffered: the output will appear only if you include a '\n' into the >output string. > > No, that's not needed. >I don't know whether it's so or not in C++, but I remember there's a flush >method somewhere in the ostream or ios class. Try searching for it on >MSDN: it sends every output you have in your buffer to screen. > It's endl. > >Bye, Ferdinando > > >------------------------------------------------------- >This SF.net email is sponsored by: The SF.net Donation Program. >Do you like what SourceForge.net is doing for the Open >Source Community? Make a contribution, and help us add new >features and functionality. Click here: http://sourceforge.net/donate/ >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > |