摘要: #include <stdio.h> typedef int (*function_pointer)(int a, int b); int func(int a, int b, function_pointer test) { test(a, b); } int add(int a, int b) 阅读全文
posted @ 2019-11-27 15:24 insistYuan 阅读(124) 评论(0) 推荐(0) 编辑
摘要: log.c: #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <time.h> #include <unistd.h> #inclu 阅读全文
posted @ 2019-11-27 11:32 insistYuan 阅读(214) 评论(0) 推荐(0) 编辑