Writing/reading 'records' to/from files.
Hi all! I'm a Cobol programmer who recently learnt VB6 and C++ through self instruction. In the case of C++, I used 'Sams teach yourself C++ in 21 days'. It demonstrates how one writes strings etc to files but does not cover the formatting of 'records' with multiple and different field types for input or output. I am of the opinion that this is done through classes. (duh!) I would really appreciate assistance in this regard. Thanks. Rog.
|