摘要:
利用数组实现 1 #include<stdio.h> 2 #include<string.h> 3 4 void copy_string(char str1[],char str2[]) 5 { 6 int i = 0; 7 while(str2[i] != '\0') 8 { 9 str1[i] 阅读全文
摘要:
Linux下各数据: 整型: 占空间内存 值域char 1字节 -128~127short 2字节 -2^15~2^15-1int 4字节 -2^31~2^31-1long 4字节 -2^31~2^31-1整型:unsigned char 1字节 0~255unsigned short 2字节 0~ 阅读全文