Non MFC CFile and CStdioFile ???
Hello All,
Does anyone know of a Non MFC based version of CFile and CStdioFile. I would like to use these classes, but I can not use MFC in this particular senario. So I am looking for a set of classes that offer the same functionality/methods that are not based on MFC.
Thanks in advance!
Kevin Orcutt
Software Engineer
Vickers E.S.D., Inc.
1151 W. Mason-Morrow Road
Lebanon, OH 45036-9699
(513) 494-5752 - Phone
(513) 494-5400 - Fax
[email protected]
#include // "It just doesn't Matter!"
Re: Non MFC CFile and CStdioFile ???
How about the C class FILE? Then use the printf (etc.) functions. I don't know of any other file classes. The inlcude file is "stdio.h".
Re: Non MFC CFile and CStdioFile ???
You can use the Win32 functions CreateFile(), WriteFile(), ReadFile(), etc. but you will have to do a little processing of your own to read text a line at a time.