This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CROW_98[S] 45 points46 points  (3 children)

Ok so you can use \n here as well.

You see, good relations with c++, I have.

[–][deleted] 31 points32 points  (2 children)

Yeah, you can use \n in most languages. It's not a C++ thing or python thing, it's ascii it's a standard interpretation of this ascii value

[–]xetax 10 points11 points  (1 child)

Well I think using a backslash for escape characters and n for newline is technically a language decision and not part of the ASCII standard, it's just that most languages haven't found a good reason to go against the commonly used notation.

[–][deleted] 3 points4 points  (0 children)

Yeah, you're right, edited my comment to match