list in class creation problemoh. Well that explains a few things. I must have been assuming the compiler would be smart enough to...
list in class creation problem[code]#include <list> using namespace std; class node { float ang, dist; node* parent; list <nod...
pointer to class instance problemwoah, i had a major misunderstanding about the -> operator, and didn't know about &. last did c++ 19...
pointer to class instance problem[code]class x{int y;}; void test() { x q; x* xp; xp->q; }[/code] gives build error "line 7 : c...
class, self reference problem[code] void node::sprout_node() { node n; n.parent=this; kids.emplace_back(n); }[/code] hi ...
This user does not accept Private Messages