摘要:
定义一个函数指针类型。比如你有三个函数:void hello(void) { printf("你好!"); }void bye(void) { printf("再见!"); }void ok(void) { printf("好的!"); }typdef void (*funcptr)(void);这... 阅读全文
摘要:
#include #include #include #include #include using namespace std;typedef struct student{ int data; struct student *next;}node;node * creat(void)... 阅读全文