-
May 17th, 2011, 07:38 AM
#1
VC++ File Handling for CString.
Hello all,
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|