May 17th, 2011, 08:38 AM
VC++ File Handling for CString.
I am working on a project and i need to save a CString to a file and load it back later. I found out that i could use:
1.) the CFile method.
2.) the CArchive method.
3.) the fstream method.
What are the various advantages/disadvantages of using any of these methods? Which one should I use for my basic file handling purposes? How do I write a CString to file?
Thanks a lot in advance.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.