Re: race condition (sort of)? message box verus function return

"speartip" <[email protected]> Mon, 13 Feb 2017 17:24:49 +0000
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Hi,

Thank you for the solutions, they all worked. Of all the combinations I tried, the one below worked the best:


Code:

std::cout<< horizontal <<"\t"<<std::flush<< vertical << "\t"<<std::flush<<endl;




Generally speaking, why did flushing the stream and combinations, etc., work to speed up the routine?

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org