Code:
VERTEX *Vertices;
int NumVertices;
WORD *Indices;
int NumIndices;
I then make a reference to Indices here:
Code:
Vertices = new VERTEX[NumVertices];
Indices = new WORD[NumIndices]; //<---- line 47
My error is this:
Code:
Project.cxx:47: error: 'Indices' undeclared (first use this function)
Project.cxx:47: error: (Each undeclared identifier is reported only once for each function it appears in.)
Project.cxx:47: error: syntax error before '[' token
I'm writing this in Mandrake 10.0. My question is what is WORD? Is it possibly M$ exclusive? what are possible solutions?
Thanks in advance!