C语言实现状态设计模式(http://www.itnose.net)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef VIRTUAL
#define VIRTUAL
#endif
#ifndef DELETE
#define DELETE(X) do { free(X);X = NULL; } while(0)
#e...
原创
2014-05-09 19:36:10 ·
132 阅读 ·
0 评论