To put it brief:
Get what I'm trying to do here and why it doesn't work (that's the part I do not know)?Code:class thisclass { public: vector <someclass> *sc; thisclass(vector <someclass> &_sc) { sc = &_sc; } void somefunc(const int n) { int x, int y; if((x == someclass[n]->x) && (y == someclass[n]->y)) dosomething(); } };



LinkBack URL
About LinkBacks


