View Single Post
Team Leader
15Feb2007,05:17  
DaWei's Avatar
I would recommend that your version of flush incorporate cout.flush(), otherwise it can be misinterpreted by a user, at it doesn't actually flush the stream, which is the whole point of endl.