Structure to be written&read in and from data file
-
{ double data[1024]; QString dname; QDate d; QTime t; };
I have to save this structure into a data file and then later view it's contents in a plot format , is there any way to do so ? I have tried file.write() and file.read() , but it doesn't work properly
-
@Adityan-J Yes. Use QDataStream and
QFile
.
Here's one example.