0
Endl or n\ why are there both but don't they do the same thing?
Lessons
3 ответов
+ 3
First, it's '\n' and not "n\"
Endl -> only used in C++ for a new line.
'\n' -> new line character is available in most popular programming languages.
+ 2
Please always try to search first before posting new questions.
https://www.sololearn.com/Discuss/1111250/?ref=app
https://www.sololearn.com/Discuss/1392532/?ref=app
https://www.sololearn.com/Discuss/1956685/?ref=app
https://www.sololearn.com/Discuss/127013/?ref=app
In relevance to C++ (not included as tagged language)
+ 2
Thank you both!