J
john smith
Hi, I have a file format that is going to contain some parts in ascii, and
some parts with raw binary data. Should I open this file with ios::bin or
no?
For example:
filename: a.bin
number of points = 123
@@@begin data@@@
gibberish follows.....
@@@end data@@@
I will use the >> and << operators for the ascii parts, and iostream's read
and write functions for the binary parts. Any advice or suggestions will be
appreciated. Thanks.
Smith
some parts with raw binary data. Should I open this file with ios::bin or
no?
For example:
filename: a.bin
number of points = 123
@@@begin data@@@
gibberish follows.....
@@@end data@@@
I will use the >> and << operators for the ascii parts, and iostream's read
and write functions for the binary parts. Any advice or suggestions will be
appreciated. Thanks.
Smith