Easter79 Easter79
2年前
strcmp函数实现及分析
最近看C,看到strcmp函数,对它的实现原型不很清楚,于是到网上搜。网上算法一大堆,看了很多代码后自己做了一下总结strcmp函数是C/C中基本的函数,它对两个字符串进行比较,然后返回比较结果,函数形式如下:intstrcmp(constchar\str1,constchar\str2);其中str1和str2可以是字
Stella981 Stella981
2年前
HDOJ 1004题 Let the Balloon Rise strcmp()函数
ProblemDescriptionContesttimeagain!Howexciteditistoseeballoonsfloatingaround.Buttotellyouasecret,thejudges'favoritetimeisguessingthemostpopularproblem