Inventory C++