question about structure of a node
Can someone help me out?
I am a little bit confused of what to do here.
If a simple structure of a code looks like this
struct node *left;
struct node *right;
How would i construct a node if the data is complicated. Like , it is a structure and should compose of name, ID number, and so on?
thank you for reading :) hoping for answers :D
node_of_complicated_data *left, *right;
typedef T value_type;
node *left, *right;
node<complicated_data> asdf; //instantiation
Thank you very much :D
Topic archived. No new replies allowed.