Closed TartanLlama closed 8 months ago
https://github.com/sinemakinci1/Cpp-Copilot-VSC-Demo/blob/21a2875a135da17b8ab0990026c4b331c9091dfc/src/calculator.cpp#L17
People tend to get annoying about uses of std::endl instead of '\n' since it both outputs a newline character and flushes the stream, which is usually not necessary.
std::endl
'\n'
https://github.com/sinemakinci1/Cpp-Copilot-VSC-Demo/blob/21a2875a135da17b8ab0990026c4b331c9091dfc/src/calculator.cpp#L17
People tend to get annoying about uses of
std::endl
instead of'\n'
since it both outputs a newline character and flushes the stream, which is usually not necessary.