Posts
 
Reputation
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
~177 People Reached
Favorite Forums
Favorite Tags
c++ x 3
Member Avatar for Gondt

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() …

Member Avatar for Gondt
0
177