I can't seem to figure out how to make an array of a user defined struct. I define my struct, like so:
Code:
struct MYSTRUCT {
    float x;
    const char *Name;
};
The i try to allocate an array like this:
Code:
MYSTRUCT MyStruct1 = new MYSTRUCT[ 24 ];
Several errors come up and I don't know what to do. I am also trying to define an array of structs/unions inside of another struct the same way... error also occurs there. HELP????