M
Milan Krejci
in myqtapp.h i have following declaration:
typedef std::vector <LCDRange *> vecLCD;
vecLCD *vec;
and in myqtapp.cpp i have following implementation:
vec=new vecLCD;
vec.push_back(lcdRange);
but i am getting a compilation error
myqtapp.cpp:219: error: `push_back' has not been declared
myqtapp.cpp:219: error: request for member of non-aggregate type before
'(' token
typedef std::vector <LCDRange *> vecLCD;
vecLCD *vec;
and in myqtapp.cpp i have following implementation:
vec=new vecLCD;
vec.push_back(lcdRange);
but i am getting a compilation error
myqtapp.cpp:219: error: `push_back' has not been declared
myqtapp.cpp:219: error: request for member of non-aggregate type before
'(' token