if I want to see if TempChar (type char) is a carriage return, what is the value of carriage return?
ex: if (TempChar==??) where ?? is the value of the carriage return.
I tried '13', '\r' but it didn't work.
please help.
if I want to see if TempChar (type char) is a carriage return, what is the value of carriage return?
ex: if (TempChar==??) where ?? is the value of the carriage return.
I tried '13', '\r' but it didn't work.
please help.
The ANSI-C end of line character is line feed, which is written as '\n'.
thanks.
it works.