摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 int main() 5 { 6 char *src="hello,world"; 7 char *dest,*d,*p; 8 int len,i; 9 len=st 阅读全文
posted @ 2020-03-08 18:14 wydxry 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1 void swap(char *p,char *q) 2 { 3 char tmp[100]; 4 strcpy(tmp,p); 5 strcpy(p,q); 6 strcpy(q,tmp); 7 } 或者 1 void swap(char *p,char *q) 2 { 3 char tmp; 阅读全文
posted @ 2020-03-08 18:05 wydxry 阅读(289) 评论(0) 推荐(0) 编辑
Live2D