摘要: 变量类型: 1:ptrdiff_t 有符号整数类型,两个指针相减的结果 char str[] = "hello"; char *strptr = str; //首地址 char *strendptr = strptr + strlen(str); //尾地址 ptrdiff_t len = stre 阅读全文
posted @ 2020-10-15 14:38 Monday1024 阅读(266) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <string.h>#include <setjmp.h> setjmp第一次返回0 ,longjmp影响setjmp 的返回值 int main(){static jmp_buf jmpbuf;int a = setjmp(jmpbuf); 阅读全文
posted @ 2020-10-09 18:02 Monday1024 阅读(87) 评论(0) 推荐(0)