短连接一般指建立连接后,做一些操作 如:http请求,然后就关掉这个连接。所以就做短连接。
strlen()求串长 求的是串的实际长度加1(家的这一个是结尾的\0)strcmp()串比较 比较做的是减法运算,而后判断结果与0的关系
strcat()串连接 两个串的连接,这个不用说了吧
#include<stdio.h>
#include<string.h>
void main()
{int a[]={1,2,3,4,5,6,7,8,9}
printf("%d\n",strlen(a))
printf("%d\n",strcmp(a))
printf("%d\n",strcat(a))
}
楼主,你让人情何以堪呢。