Thread
:
strange thing in VC++
View Single Post
09-09-2008, 01:40 AM
#
2
(
permalink
)
Baez
Join Date: Sep 2005
Location: Toronto, Canada
Posts: 5,469
Re: strange thing in VC++
That's because the compiler still thinks your cout statement is running. All output to cout and stdout is buffered. Try adding an <<endl to the end of the cout statement and see if it works.
__________________
Last edited by Baez; 09-09-2008 at
01:44 AM
.
Baez
View Public Profile
Send a private message to Baez
Visit Baez's homepage!
Find More Posts by Baez