Hi,
I want to know if i understand this struct thing.
First question:
I have defined a struct GRID.
So, I create a grid node:
function create_grid()
{
GRID* point;
static GRID temp;
point = start
}
I know that this cant be right, because the engine gives the error:
Can't convert struct to pointer.
Is there a way to create initialized structs in a function?
I want to create 360 Grid nodes. It is not much fun to create every node myself, so i want them generatedby a for loop.
MfG,
Patrick
Last edited by TheThinker; 06/11/07 22:40.