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?
Bookmarks