Enter string(whthin 80 characters): fjalsjdlafjfalj ajsdf 输入字符串的长度为:21 Do you want continue y/n:y Enter string(whthin 80 characters): jlsdjflsjafjw w jljsl 输入字符串的长度为:21 Do you want continue y/n:y Enter string(whthin 80 characters): jsljfljxooa sjldj...
char*b);charc[6]={"Acdaa"},d[6]={"aaaaa"},*a=c,*b=d;printf("%d",cmp(a,b));ret...
字符串char和整形int的区别就是字符(char)‘5’-‘0’=整形数字(int)5,然后再强制转换一下将(int)转换成(double)就可以了。算了,我写出来吧。double chartodob(cahr * a){ double i=a-'0';return i;}