Storing Data as ASCII format
-
Hi All, I Need Help Regarding The Storing of Data in ASCII format How To store TEXT Data in ASCII Format and In which Format Ascii Data to be Stored and What are The Precautions to Be Taken Storing The Data In ASCII Format. Thanks In Advance
-
Hi All, I Need Help Regarding The Storing of Data in ASCII format How To store TEXT Data in ASCII Format and In which Format Ascii Data to be Stored and What are The Precautions to Be Taken Storing The Data In ASCII Format. Thanks In Advance
One down side to storing data in plain ASCII is that it's readable using a simple text editor like Notepad. Another limitation is that you're limited to the ASCII set of characters, which means if you want to store binary data, you'll need to convert it to ASCII (which causes a 2x increase in size) before storing it. If you're looking for a general article on serializing data, you might find this set[^] of articles helpful. /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com
-
Hi All, I Need Help Regarding The Storing of Data in ASCII format How To store TEXT Data in ASCII Format and In which Format Ascii Data to be Stored and What are The Precautions to Be Taken Storing The Data In ASCII Format. Thanks In Advance
Check out CStdioFile, it will do what you want. Also you can use regular C++ iostreams (e.g., ifstream and ofstream) to be more "standard" or if you aren't using MFC. MSDN has docs for all of these. "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein