Hi
with record[i].field[j].charData = s;
i get this error:
error: 'class CDatabaseField' has no member named 'charData'
field is a instance of CDatabaseField?
std::deque<CDatabaseField field;
I dont fully understand deque. it doesnt need to be allocated? What does
that mean?
Also union is not in my book...what is union?
why doesn't that below work?
Thanks Michael
class CDatabaseField {
public:
union {
char charData[256];
double doubleData;
long intData;
} data;
};