|
-
May 20th, 1999, 03:20 AM
#2
Re: Storing Tables in Files
When you say DAT file, do you mean human-readable? If so, use CStdioFile and use its ReadString() and WriteString() methods to manipulate each line of the table (or each element, if you prefer). If you don't need it readable, you can Serialize() the table by making a CString of each line (or element) and using the insert operators (<< and >> to serialize each CString.
Is this what you wanted to know?
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
|