I have struct contains following members:
MyStruct
{
unsigned int x;
float y;
float z;
unsigned short m;
char ph_ n;
char ph_ l;
char ph_r;
BYTE inf_id;
BYTE index;
BYTE len_;
};
I need to read data from my file and fill my struct like that
MyStrucct* ms;
... Read(ms, size)
Can I do that using QFile?
any one can help me with example?

Reply With Quote

