摘要:
先贴代码 1 #include <stdio.h> 2 #include <string.h> 3 unsigned char buf[5] = {'a','b','c','d','\0'}; 4 int main() 5 { 6 memmove(buf+1,buf,3); 7 printf("%s 阅读全文
posted @ 2022-06-11 16:43
小小宅138
阅读(539)
评论(0)
推荐(0)
摘要:
第一个C代码是这样的: 1 #include <stdio.h> 2 int main() 3 { 4 printf("Hello, world!"); 5 return 0; 6 } “#include”是C语言的预处理指令,预处理指令一般以 “#” 开头。 “stdio.h”为头文件,是C语言的 阅读全文
posted @ 2022-06-11 00:04
小小宅138
阅读(442)
评论(0)
推荐(0)
浙公网安备 33010602011771号