文档分类
};
void vehicle::init(int wheels,float weight) {this->wheels=wheels; this->weight=weight; cout<int vehicle::get_wheels() {return wheels; } float vehicle::get_weight() {return weight;} void vehicle::print() {cout<<\车轮数:\重量:\1234
int vehicle::get_wheels() {return wheels; }
float vehicle::get_weight() {return weight;} void vehicle::print()
{cout<<\车轮数:\重量:\
相关推荐: