网站首页 站内搜索

搜索结果

查询Tags标签: Machinepets,共有 6条记录
  • 11.24

    #include<iostream> #include<iomanip> #include<string>using namespace std;class Car { public:Car(string maker, string model, int year){this->maker = maker;this->model = model;this->year = year;odometers = 0; }void info();void…

    2021/12/1 6:06:36 人评论 次浏览
  • 11.24

    #include<iostream> #include<iomanip> #include<string>using namespace std;class Car { public:Car(string maker, string model, int year){this->maker = maker;this->model = model;this->year = year;odometers = 0; }void info();void…

    2021/12/1 6:06:36 人评论 次浏览
  • 面向对象->实验报告四(C++)

    task3题目要求源码 main.cpp #include <iostream> #include "electricCar.hpp" int main() {using namespace std; // test class of CarCar oldcar("Audi", "a4", 2016);cout << "--------oldcars info--------" &l…

    2021/11/25 1:39:51 人评论 次浏览
  • 面向对象->实验报告四(C++)

    task3题目要求源码 main.cpp #include <iostream> #include "electricCar.hpp" int main() {using namespace std; // test class of CarCar oldcar("Audi", "a4", 2016);cout << "--------oldcars info--------" &l…

    2021/11/25 1:39:51 人评论 次浏览
  • 实验四 继承

    ------------恢复内容开始------------//task2.cpp #include <iostream> #include <typeinfo>// definitation of Graph class Graph { public:void draw() { std::cout << "Graph::draw() : just as an interface\n"; } };// definition of…

    2021/11/24 23:40:42 人评论 次浏览
  • 实验四 继承

    ------------恢复内容开始------------//task2.cpp #include <iostream> #include <typeinfo>// definitation of Graph class Graph { public:void draw() { std::cout << "Graph::draw() : just as an interface\n"; } };// definition of…

    2021/11/24 23:40:42 人评论 次浏览
扫一扫关注最新编程教程