I have an array inside a class which is:
private:
static const int MAX_EQUIPS=100;
equip a_t[MAX_EQUIPS];
int a_n;
Then in the main they tell me what MAX_EQUIPS size should be, how can I put it so it changes? It starts at X but then it increases or decreases when the new valor is entered.
const, is it? Use avector.