Categories:
End of Line Characters
Source :
- http://www.wilsonmar.com/1eschars.htm
- Julia

But Macintosh now is using \n (linefeed) as default.
You can visualize the CRLF in windows.

Why it matters?
In C/C++ program, there are many IO operation require to identify the end of line character.
We usually write \n to indicate the end of line. However, if in windows, it will be a problem.
Text files in Windows end in \r\n , it means \r may be recognized as a character ! (but this is not true!)