Hi!
If i do this:
enum class action { hold, attack, defend};
action myAction[100];
int myAction2[100];
1. Do myAction and myAction2 take the exact same amount of memory? I load and save chunks of memory to/from disk and don't want any nasty suprises down the road.
2. Put it in another way: can the array of enum classes (myAction) be saved loaded from memory/work the same way in memory as an array of a "primitive" class:
class primitiveClass{
int data[10];
float stuff[25];
};
primitiveClass normal[100]; // this I can save/load without trouble
Thanks!