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: Ferdinando F. <s2...@st...> - 2003-10-24 12:41:41
|
> I do have the system pause, and still I didn't see the statements. > > Any other suggestions? > 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. 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. Bye, Ferdinando |