string - What's the difference between \n and \r\n? -
they both mean "new line" when 1 used on other?
\r\n
windows style
\n
posix style
\r
old pre-os x macs style, modern mac's using posix style.
\r
carrige return , \n
line feed, in old computers not have monitor, have printer out programs result user, if want printing staring of new line left, must \n
line feed, , \r
carriage return left position, old computers syntax saved time on windows platform.
Comments
Post a Comment