Ok what is there a new Variables class and what is the tilde symbol do? Also what is delete. Actually everything in the class you changed needs explaining as ive seen it all before but not sure what it does.
The example Mr. Moschops gave uses dynamic memory: http://cplusplus.com/doc/tutorial/dynamic/
When using dynamic memory, it's important to free the allocated memory space, which is done in the destructor (~Variables()). Destructors are called automatically when an object is destroyed, as opposed to a constructor which is called upon creation.
As I said, Items is within an object, so you will have to tell C++ to look for the variable in the object, by using the dot operator. VO.Items; can be read as: value 0 from the Items array which is a member of the VO object.