¡@

Home 

c++ Programming Glossary: fooditem

Is it ok to cast a STL container with Base type to Derived type?

http://stackoverflow.com/questions/5460371/is-it-ok-to-cast-a-stl-container-with-base-type-to-derived-type

Store a reference to an objects member variable with a different class

http://stackoverflow.com/questions/6000111/store-a-reference-to-an-objects-member-variable-with-a-different-class

I am doing this so I can use the class like so struct FoodItem unsigned int ID string name double price Collection FoodItem.. unsigned int ID string name double price Collection FoodItem foodCol FoodItem name after storing some FoodItems in foodCol.. ID string name double price Collection FoodItem foodCol FoodItem name after storing some FoodItems in foodCol I can retreive..