User profile: thestraycat27
User info |
User name: | thestraycat27 |
Location: | Ukraine, Kyiv |
History |
Joined: | |
Number of posts: | 18 |
Latest posts: |
Problem with pointers (inherited classes) Thank you, but in fact make_tree works, because:
1) it worked when I used char instead of AnyObject;...
Problem with pointers (inherited classes) Well, I tried applying
[code]
AnyObject *pAny = NULL;
pAny = &(...);
pAny->show();
[/code]
in diff...
Problem with pointers (inherited classes) Thanks. Above, I described how the value is assigned. That is, first I create a tree of AnyObject-s ...
Problem with pointers (inherited classes) OK, it still produces "default object". :(
Perhaps the way I assigned [tt]btree::root->d[/tt] can s...
Segmentation error, why? So what's wrong with them? The problem is not with an infinite object, it doesn't want to recognize ...
|