面向对象程序设计-2020级 (南京信息工程大学)

  • 实验四 继承

    #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw() : just as an
    晨^O^   2021-11-30 23:26   0   2
  • 实验四 继承

    实验四 继承 实验任务二 task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Grap
    胖头鱼鱼鱼鱼   2021-11-30 22:59   0   3
  • 实验4继承

    实验任务2 task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : jus
    睡不醒的浅泽   2021-11-30 22:26   0   2
  • 实验四--类和继承

    实验结果: 实验2代码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as
    Rtianzhao   2021-11-30 22:11   1   4
  • 实验四 继承

    实验二代码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw() : just
    闲人某某田   2021-11-30 20:58   0   2
  • 实验4 继承

    2.实验任务2 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an
    iliclpo   2021-11-30 20:56   1   2
  • 实验四 继承

    #include <iostream>#include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an interface
    玖玖玖璐   2021-11-30 20:49   0   1
  • 实验四

    试验任务二 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an in
    吔瓜群众   2021-11-30 20:44   0   2
  • 实验四 继承

    1 #include<iostream> 2 #include<string> 3 using namespace std; 4 class Car{ 5 public: 6 Car(string maker0,string model0,int year0,int odometers0=0):ma
    施佳棋   2021-11-30 19:22   0   2
  • 实验四

    #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an interfac
    yxg208   2021-11-30 15:26   0   2