正在加载图片...
51.3对象的创建与使用 【例51】商品类对象应用实例 include<iostream h> #include <iomanip. h> #include<string.h> /省略了类定义 void main o GOods char string[21]i int number i float pr i5.1.3 对象的创建与使用 【例5.1】商品类对象应用实例: #include<iostream.h> #include<iomanip.h> #include<string.h> //省略了类定义 void main( ){ CGoods car ; char string[21] ; int number ; float pr ;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有