摘要: 用桥接模式实现在路上开车这个问题,其中,车可以是car或bus,路可以是水泥路或沥青路。 #include<iostream> #include<string> using namespace std; class Chexing { public: virtual void run()=0; }; 阅读全文
posted @ 2021-10-18 10:50 小强哥in 阅读(26) 评论(0) 推荐(0) 编辑