I want to store a new line character in a text file using CFile. Normally I am storing the text in CString and then using File.Write which is putting all the text in one single line.
I want to store a new line character in a text file using CFile. Normally I am storing the text in CString and then using File.Write which is putting all the text in one single line.
Try using "\r\n" instead of just '\n'.
Thanks its working fine.
Zulfi