Diff between CFile and CStdioFile
-
hi, Can you tell me what is the Diff between CFile and CStdioFile. when to use each of these. Thanks.
-
hi, Can you tell me what is the Diff between CFile and CStdioFile. when to use each of these. Thanks.
karmendra_js wrote: Can you tell me what is the Diff between CFile and CStdioFile. when to use each of these. CStdioFile is derived class on CFile.. so all CStdioFile has all capibility that CFile have plus It's special file reading Function like ReadString():- which read one line at a time etc. karmendra_js wrote: when to use each of these. CStdioFile is benificial when you are using it with text based file.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
hi, Can you tell me what is the Diff between CFile and CStdioFile. when to use each of these. Thanks.
The CStdioFile class inherits from the CFile class and provides more support for reading and writing text files. Have a look in MSDN here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfc_cstdiofile.asp[^] -- Roger