I am trying to write a short RPG like program to teach myself C++. I would only like the program to allow the user to by items (sword, shield, etc.) from a store and add them to their list of items. I'd also like for these items to be objects of a class so that I can give them data members such as name and price. But I can't figure out how to put objects into something like a vector or an array. Is there a way to do that? Or is there some other way?