摘要:
适用性 参与者 类图 例子 Target Adaptee Adapt*r Client result 1.2.2 桥接模式 适用性 参与者 类图 例子 Abstr*ction RefinedAbstraction Implemento* ConcreteImplemento* Test result 阅读全文
posted @ 2018-10-04 17:04
一起_007
阅读(82)
评论(0)
推荐(0)
摘要:
#include using namespace std; typedef struct QNode { int data; struct QNode * next; }QNode,*QueuePtr; typedef struct { QueuePtr front; QueuePtr rear; }LinkQueue; bool init(LinkQueue & L) { ... 阅读全文
posted @ 2018-10-04 09:52
一起_007
阅读(54)
评论(0)
推荐(0)
摘要:
#include using namespace std; #define STACK_INIT_SZIE 100 #define INCREAMENTSIZE 10 typedef struct { int * base, *top; int stacksize; }Stack; bool init(Stack & S) { S.base = (int *)malloc(STA... 阅读全文
posted @ 2018-10-04 09:16
一起_007
阅读(72)
评论(0)
推荐(0)
浙公网安备 33010602011771号