- 博客(3)
- 收藏
- 关注
原创 memento c++
#include#include#include class Memento{ public: char name[64]; int hp; int mp; Memento() { } Memento(char *name,int hp,int mp) { strcpy(this->name,name); this->hp=hp; thi
2017-07-25 11:20:07 368
原创 command c++
#include#include#include#include#includeusing namespace std;class Barbecuer{ public: int bake_mutton() { puts("chef is cooking mutton"); }; int bake_chicken() { puts("chef is c
2017-07-25 11:09:14 384
原创 mediator
#include#includeusing namespace std;class china;class india;class country;class mediator{public: china *chin; india *indi; mediator(){}; mediator(china *chin,india *indi); void send(str
2017-07-23 19:37:06 717
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人