#include #include using namespace std;class fruit{public:string color;//颜色float height;//重量};class apple:public fruit{public://不知道你的苹果还有啥属性自己添加吧string shape;//形状apple(float a,string b,string c){height = a;color = b;shape =
← 上一条:定义的应用程序或对象定义错误 下一条:服务器中毒后打开用友系统管理,运行错误 -2 →