Originally Posted By: jcl
You don't understand. \n is just a convention of the C compiler. The string does not really contain a "\n". Within a string, a new line is the character sequence 0d0a and not "\n".


I have a question on this.

Lets say my string is "start 0d0a end"
Then I write this string into a txt file.
When I open the txt file then will it look like this :-

start
end

thanks
zazang



I like good 'views' because they have no 'strings' attached..