Introduction - If you have any usage issues, please Google them yourself
A simple programming supermarket shopping system, define a class of goods Goods, which derives the electrical sub 3 different categories: refrigerators, color TV, air conditioning. Then create an actual object of all that the customer purchased 3 appliances, such as: Haier refrigerator, color TV Changhong, Gree air-conditioning. Use of virtual functions, and find the price of these appliances.