命令模式(C++)

#include <iostream> using namespace std; class action { public: action(){} ~action(){} void forward(){cout<<"forward"<<endl;} void backward(){cout<<"backward"<<endl;} }; class comman
相關文章
相關標籤/搜索