I am a newbe in c++/c. and recently I am trying to read data form a Collada file.so I have to define the data struct to store the parsed data in the memory.
I define the data structure in a head file. but when I compile it ,sth goes wrong.
the whole codes are so long.so I cut part of it, and guess that's enough to show the problem. the head file is listed as follows ,and also the error message.
/-----------------------------------------------------------------/
head file:Collada.h
thanks for your suggestion. what do you mean by"if you edited this with some code tags,I will look at it more".
maybe I didn't explain it detail enough.
I made the data structure defined in a head file. and within a data structure ,there may be another data strucutre which is defined later in the file. I think that is where the error came from. because when I define a data structure whose elements are all built-in type such as int, float,char ... ,it runs well.
so the words above is my guess. and if I am right, could give me solution,or if I am wrong, could show me what's wrong