摘要: 定义一个函数指针类型。比如你有三个函数:void hello(void) { printf("你好!"); }void bye(void) { printf("再见!"); }void ok(void) { printf("好的!"); }typdef void (*funcptr)(void);这... 阅读全文
posted @ 2014-10-27 22:57 zhanbiqiang 阅读(375) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std;typedef struct student{ int data; struct student *next;}node;node * creat(void)... 阅读全文
posted @ 2014-10-27 19:10 zhanbiqiang 阅读(373) 评论(0) 推荐(0) 编辑