Hi, i have this simple data structure:
struct nodeProject {
char key[100];
char name[1000];
struct linkProject *plink;
};
struct linkProject {
struct nodeProject *node;
struct linkProject *next;
};
Trough the program i make a structure, but then if i want to access
let's say:
nodeProject->linkProject->nodeProject->name
(nodeProject and linkProject are used just to make clear what data types
i have, otherwise that are pointers) i get an error under LINUX (GCC),
but under WIndows everything works fine.
If the "depth" doesn't involve linkProject, everything works fine (ex.
nodeProject->name).
Any idea? I think i got that data structure wrong somehow.
Tnx,
Greg