Hello, I'm writing a struct "node" like this:
Can I make it containing an array of nodes? If I write:Code:struct node{ int x; int y; };
...it doesnt compile, saying Undefined structure 'node'Code:struct node { int x; int y; node nodes[8]; };
I believe that is because struct node it is not "born" yet when it tries to do that.
How can I do something similar? Maybe with pointers, but I'm no good with them yet! Thanks a lot