• Dominik Charousset's avatar
    Use endl to improve example usability on Windows · a27358d3
    Dominik Charousset authored
    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.
    a27358d3
chat-client.cpp 4.49 KB