sinemakinci1 / Cpp-Copilot-VSC-Demo

0 stars 0 forks source link

Use `\n` rather than `std::endl` #11

Closed TartanLlama closed 2 months ago

TartanLlama commented 2 months ago

https://github.com/sinemakinci1/Cpp-Copilot-VSC-Demo/blob/9db124b0e801cfc5331261c1867d0d7e1fa4f6c6/src/user.cpp#L4

People get annoying about std::endl use, since it also flushes the stream. Best to just use \n.