Can I delete a member of vector that is pointed by a pointer?Yeah, I figured as much. Might as well do a complete overhaul.
Dynamic memory questionOh right, forgot about the new. Thanks.
Dynamic memory questionSo if I have a constructor in the class: [code]Myclass(int a, string b, int c);[/code] I would do ...
Dynamic memory questionI have a class Myclass and the following: [code]struct Data {Myclass* a;}; vector<vector<Data>...
Can I delete a member of vector that is pointed by a pointer?I have following: [code] struct Point {int* a; int b;}; vector<vector<Point> > numbers; vector...
This user does not accept Private Messages