From: divya_rathore_ on
On Mar 24, 8:40 pm, Piranha <eu_pira...(a)gmx.net> wrote:
>
> Long speech short sense, how can I write a mixture of text and binary
> data into a file, and how can I read the the file again to split up
> the data and convert all pieces back to their types?
>
> I´m not using any kind of MFC or VC or .NET, but only MinGW/GCC++.

XML!
Its not only for web :)
You will get many parser classes in language of your choice if you
search for them.