 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Gary Wessle Guest
|
Posted: Tue Aug 22, 2006 9:11 am Post subject: dereferencing problem |
|
|
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 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|