How can I write/read qint32
variable to QFile
? I need to do this without using Data/TextStreams
. Just direct read/write.
QFile* file;
qint32 a, b;
//write a to file
//b = read a
How can I write/read qint32
variable to QFile
? I need to do this without using Data/TextStreams
. Just direct read/write.
QFile* file;
qint32 a, b;
//write a to file
//b = read a