text files
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
How I do to write (and read) text files in my VC++ application? thank you
-
How I do to write (and read) text files in my VC++ application? thank you
Hi, You can use the Win32 file functions like CreateFile, ReadFile and WriteFile. You can find more information about it in MSDN. Regards, Alex Gorev, Dundas Software.
-
How I do to write (and read) text files in my VC++ application? thank you
Hi Antonio, You may try CStdioFile, use WriteString() to write a line of text from a CString variable (but remember to append a '\n' to the string), and ReadString() to read a line into a CString. Paolo.