Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/27/02 09:07
Read: times


 
#29756 - RE: Removing a Cr Linefeed from data strea
"The difficulty is the symbol for a CR/ Line feed"

Beware: the standard 'C' Escape Sequence 'n' means, "the implementation-defined end-of-line sequence"
So, depending on your compiler, 'n' could mean CR, LF, CRLF or possibly even something else! (in Keil, it's just LF; in Borland, I think it's CRLF)

For cases like yours, where it matters specifically what character you want, it's better to use the ASCII code directly; eg,
#define CR 0x0D
#define LF 0x0A
BTW: please register & login, so that you can use the 'pre' tags to preserve the formatting when posting 'C' source code; it's almost illegible without :-(

List of 17 messages in thread
TopicAuthorDate
Removing a Cr Linefeed from data strea            01/01/70 00:00      
   RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      
RE: Removing a Cr Linefeed from data strea            01/01/70 00:00      

Back to Subject List