I\'m trying to write data to file. However, I want to add new data in new line, but now I can\'t.
HANDLE hFile; hFile = CreateFile(_T(\"HELLO.txt\"),
Windows uses a CR/LF combination to signify the end of line, you need to write "\r\n" if you want the line break to show up correctly in, e.g., Notepad.