Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
the title describes the problem. here's how the code looks like: [code]#include <cstdio> class example { public: class node { public: int value; node *left, *right; }; node *root; example (int a) { root=new node; root->value=a; } // HERE'S THE PROBLEM: void function (node *variable=root) { } }; int main() … |