{
out>>w;
out>>x;
out>>y;
out>>z;
out>>list->register; //<--- the line who dont run according to the debugger but i dont know why, this is my qlist
list->plate=w;
list->brand=x;
list->mileage=y.toDouble();
list->cylinder_capacity=z.toDouble();
return out;
}
QDataStream& operator>>(QDataStream &out, car *&list)
{
QString w,x,y,z;
out>>w;
out>>x;
out>>y;
out>>z;
out>>list->register; //<--- the line who dont run according to the debugger but i dont know why, this is my qlist
list->plate=w;
list->brand=x;
list->mileage=y.toDouble();
list->cylinder_capacity=z.toDouble();
return out;
}
To copy to clipboard, switch view to plain text mode
Bookmarks