Equivalent for VC++ CArchive on Unix?
I am currently porting applications written in MS VC++ into Unix. The application has a great deal to do with binary code written using CArchive (<< and Write). I can't seem to find a suitable replacement on Unix. The closest I have gotten is fstream, since it has the << operator and write function, just as in CArchive, and the descriptions of them tell me they should be doing the same thing.
Am I looking in the wrong direction? Please let me know how I should attack the problem.
Thanks,
Paolo

