1) I have this:
I have a variable defined as: info stuffCode:struct data { int numOfObjects; int positions[40]; }; typedef struct data info;
How can i set the positions in the array positions to all 0 as default?
2) If I have an array of those structs (infoArray[]), how can I access the data?
is it:
infoArray[i].numOfObjects
OR
infoArray[i].stuff.numOfObjects
?