This is just a basic question. I've created a struct that needs to create mutliple instances, but of a constantly changing number.
Grab number of objects from memory.
unsigned short Max;
unsigned short Num;
_NumOfObjects * NumOfObjects = ( _NumOfObjects * ) OTNumAddy;
I need to create an instance for each seperate object, but I get this error:
float mx, my, mz;
error C2057: expected constant expression
error C2466: cannot allocate an array of constant size 0
Is there a way to do this without a constant? The num of objects changes quite frequently.