摘要:
#include<iostream>using namespace std; class CPU {public: virtual void nCPU() = 0;};class VideoCard {public: virtual void nVideoCard() = 0;};class Mem 阅读全文
摘要:
#include<iostream>using namespace std;//制作饮品 基类class Drinking {public: //煮水 virtual void Boil() = 0; //冲泡 virtual void Brew() = 0; //倒入杯中 virtual void 阅读全文