Click here to Skip to main content
15,908,115 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSkins for VisualC++ GUI Pin
Sky7-Nov-00 20:32
Sky7-Nov-00 20:32 
GeneralC++ graphics modes Pin
dan7-Nov-00 14:08
dan7-Nov-00 14:08 
GeneralRe: C++ graphics modes Pin
Erik Funkenbusch8-Nov-00 10:35
Erik Funkenbusch8-Nov-00 10:35 
GeneralRe: C++ graphics modes Pin
Brendan Tregear9-Nov-00 12:48
Brendan Tregear9-Nov-00 12:48 
Generaltricky question about endl Pin
Erich Ruth7-Nov-00 7:47
Erich Ruth7-Nov-00 7:47 
GeneralRe: tricky question about endl Pin
Michael Dunn7-Nov-00 9:17
sitebuilderMichael Dunn7-Nov-00 9:17 
GeneralRe: tricky question about endl Pin
Erich Ruth7-Nov-00 11:40
Erich Ruth7-Nov-00 11:40 
GeneralRe: tricky question about endl Pin
Michael Dunn7-Nov-00 14:37
sitebuilderMichael Dunn7-Nov-00 14:37 
Let me go back one step and ask, do you know what flushing means? Standard output is normally line-buffered, so that any text sent to cout is not printed until an end-of-line character ('\n') is printed, or the program exits.

Flushing cout means that any text waiting to be printed is immediately printed.

Since the endl manipulator does an "end of line", it flushes cout. Calling cout.flush() does the same thing, just without going to a new line.

If the presence/absence of a cout method call is affecting code earlier in the function, I'd guess that you have a stack or buffer overrun somewhere in your code.

How exactly is your code going wrong when you don't have cout << endl;?

--Mike--
http://home.inreach.com/mdunn/
GeneralRe: tricky question about endl Pin
Erich Ruth8-Nov-00 3:27
Erich Ruth8-Nov-00 3:27 
GeneralRe: tricky question about endl Pin
Erik Funkenbusch8-Nov-00 10:38
Erik Funkenbusch8-Nov-00 10:38 
GeneralProblem to get computer name Pin
Cheickna7-Nov-00 7:11
Cheickna7-Nov-00 7:11 
GeneralOpening file resizes the frame Pin
Guillaume Belzile7-Nov-00 5:50
sussGuillaume Belzile7-Nov-00 5:50 
Generalhelp with C++ and TCL Pin
Alejandro7-Nov-00 4:32
Alejandro7-Nov-00 4:32 
GeneralDCOM vs. Sockets Pin
josh7-Nov-00 0:40
josh7-Nov-00 0:40 
GeneralDLL Dialog Misery Pin
Justin Somerville6-Nov-00 20:39
Justin Somerville6-Nov-00 20:39 
GeneralRe: DLL Dialog Misery Pin
David Fedolfi14-Nov-00 3:46
David Fedolfi14-Nov-00 3:46 
GeneralCFileDialog Default Directory Pin
Ron Ginsberg6-Nov-00 13:24
Ron Ginsberg6-Nov-00 13:24 
GeneralRe: CFileDialog Default Directory Pin
Michael Dunn6-Nov-00 16:05
sitebuilderMichael Dunn6-Nov-00 16:05 
GeneralRe: CFileDialog Default Directory Pin
Ron Ginsberg7-Nov-00 5:35
Ron Ginsberg7-Nov-00 5:35 
GeneralRe: CFileDialog Default Directory Pin
Berkut7-Nov-00 6:10
Berkut7-Nov-00 6:10 
GeneralComputers names on network Pin
CHEICKNA TRAORE6-Nov-00 11:08
CHEICKNA TRAORE6-Nov-00 11:08 
GeneralRe: Computers names on network Pin
Christian6-Nov-00 15:07
Christian6-Nov-00 15:07 
GeneralGetDeviceCaps(BITSPIXEL) Pin
kk96-Nov-00 9:12
kk96-Nov-00 9:12 
GeneralSetup INF Help Pin
KrustY6-Nov-00 3:06
KrustY6-Nov-00 3:06 
GeneralRe: Setup INF Help Pin
manish chaudhari6-Nov-00 4:54
manish chaudhari6-Nov-00 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.