+ 2
\n is new line what's \r?
5 Respostas
+ 4
I think \r is carriage returns. meaning the cursor is placed at the beginning of a line.
+ 2
\r is carriage return. Windows uses the combination of "\r\n" to denote a newline. all other OS's use just \n. It's annoying. this is why you have to convert line endings when copying files from Windows to Linux and vice versa.
+ 1
It is also a new line symbol in window i.e.\r==\n.
0
it means Carriage return.
- 2
this would be a cool Jeopardy question!