jasie24
January 11th, 2003, 02:45 PM
how can i load information from a file into a tree structure.
suppose i had save it before in a file(only the information)
for example if i have a structure of a tree like this:
typedef int tip;
struct node{
tip info;
int ns;
nod* son[20];
};
so, only the info filed i have saved if i cross the tree in depth.
i'll b grateful to everyone who would help me.
thanks
suppose i had save it before in a file(only the information)
for example if i have a structure of a tree like this:
typedef int tip;
struct node{
tip info;
int ns;
nod* son[20];
};
so, only the info filed i have saved if i cross the tree in depth.
i'll b grateful to everyone who would help me.
thanks