Thread: CR, LF and \n
View Single Post
  #1  
Old 03-26-2011, 08:50 PM
C++ C++ is offline
Senior Member
 
Join Date: Jun 2009
Posts: 18,248
Default CR, LF and \n

Hello guys! I just wanted to ask something so that I can clear up things in my mind. What is the difference among Carriage Return ('\r'), New Line ('\n') and Line Feed? Is it correct to say that \n = \r + LF ? Thank you in advance!
__________________
C++
domain name forum
Reply With Quote