摘要: #基础类型 一个字节通常表示8bit #typedef类型 经常在代码中见到的uint32_t的t代表是由typedef产生的。 /* There is some amount of overlap with <sys/types.h> as known by inet code */ #ifnde 阅读全文
posted @ 2023-03-16 16:45 心比天高xzh 阅读(33) 评论(0) 推荐(0)
摘要: #include<regex.h> #regcomp 编译正则表达式 int regcomp (regex_t *compiled, const char *pattern, int cflags); ①regex_t 是一个结构体数据类型,用来存放编译后的正则表达式,它的成员re_nsub 用来存 阅读全文
posted @ 2023-03-16 14:22 心比天高xzh 阅读(145) 评论(0) 推荐(0)
摘要: 在assert(0)之前使用printf时发现并不会起作用,需要加上一行代码 printf... fflush(stdout); assert(0); 阅读全文
posted @ 2023-03-16 13:48 心比天高xzh 阅读(22) 评论(0) 推荐(0)