摘要:
实验8:适配器模式 [实验任务一]:双向适配器 实现一个双向适配器,使得猫可以学狗叫,狗可以学猫抓老鼠。 直接放源码: #include<iostream> #include<string> using namespace std; class CatTarget { public: virtual 阅读全文
posted @ 2022-10-13 09:49
Lindseyyip
阅读(31)
评论(0)
推荐(0)
浙公网安备 33010602011771号