Use endl to improve example usability on Windows
On Windows, STDOUT is "fully buffered" by default. This means that messages don't appear after a newline on screen, like they do on UNIX systems that use line buffering by default. Using `std::endl` makes sure that written messages actually appear on screen for Windows users as they should.
Showing
Please register or sign in to comment