Hi Everyone,
I am new to C++ and I have a question regarding arrays.
I know that in C and C++ when you create an array you need to specify how long it needs to be
and then once you've done that it can't change. So my question is, in those RPG games such as World
of Warcraft, how would they have managed inventory?
I have always assumed it would just be an array of items, but the games often have the abbility to
pick up extra bag space etc so how would they handle this if the array size can't change.
Thanks
I am new to C++ and I have a question regarding arrays.
I know that in C and C++ when you create an array you need to specify how long it needs to be
and then once you've done that it can't change. So my question is, in those RPG games such as World
of Warcraft, how would they have managed inventory?
I have always assumed it would just be an array of items, but the games often have the abbility to
pick up extra bag space etc so how would they handle this if the array size can't change.
Thanks
