About binary files & streams & buffers...
I know that there is a QT meanly forum but I'm searching for tutorials or examples related to reading-writeing of binary files using streams and buffers.
I dont find nothing really usefull.
Some kind soul can help me ?
Basically I'd want to do :
open the binary file and
read-write a long
read-write a structure
read-write a string
read-write a fixed lenght string
....
and I want to do this individually or using buffers.
Thanks.
Re: About binary files & streams & buffers...
This is the correct part of the forum for such questions.
Do you want to do this with qt or just plain C++?
In Qt have a look at the following classes:
QFile, QDataStream
Re: About binary files & streams & buffers...
Ja ja ja, Oh my god.
I wrote I know that there is a QT meanly
But I really wanted to write I know that here-this is a QT mainly
Ups. (sorry for my bad english)
Ok, Thanks High_FLyer
First, as I'm learning C++... I'd want to do something with STL, later with QT.
Thanks
Re: About binary files & streams & buffers...