المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Insert blank line in text file



C++ Programming
09-24-2009, 02:51 AM
I am creating a text file at run time and writing some strings to it but, all strings are coming in one line how to insert blank line in the text file?
i am using following function:
StringCchPrintf(lpBuffer, sizeof(lpBuffer)/sizeof(TCHAR),TEXT("%s"),lpBuffer);
"\n" is not working here..