摘要: 1. 比较s1和s2字符串的前maxlen个字符。如果两个字符串相等的话,strncmp将返回0。 int strncmp ( const char * str1, const char * str2, size_t n ); 2. 判断字符变量c是否为字母或数字,若是则返回非零,否则返回零。 in 阅读全文
posted @ 2017-03-06 21:13 mrsandstorm 阅读(153) 评论(0) 推荐(0) 编辑