Many C++ books contain example code like this...
std::cout << \"Test line\" << std::endl;
...so I\'ve always done that too. But
There might be performance issues, std::endl forces a flush of the output stream.
std::endl