G
Gary Wessle
Hi
how can I dereference the object as showing below?
mytype{
vector<double> names;
public:
mytype(){}
};
class arrangem{
public:
arrangem(vector<mytype*>){...}
how can I find out here about the size of
vector<double> names for say typ1
};
int main() {
mytype typ1, typ2;
vector<mytype*> collection;
collection.push_back(&typ1);
collection.push_back(&typ2);
arrangem job1(collection);
}
thanks
how can I dereference the object as showing below?
mytype{
vector<double> names;
public:
mytype(){}
};
class arrangem{
public:
arrangem(vector<mytype*>){...}
how can I find out here about the size of
vector<double> names for say typ1
};
int main() {
mytype typ1, typ2;
vector<mytype*> collection;
collection.push_back(&typ1);
collection.push_back(&typ2);
arrangem job1(collection);
}
thanks