摘要:
问题:求字符串中所含有字符的个数(包括空格),即求字符串长度;#include #include int _strlen(const char* str){ assert(str != NULL); int i=0; for(;*str++!='\0';i++); //for(;str++!... 阅读全文
posted @ 2014-08-19 21:52
McQueen1987
阅读(1247)
评论(0)
推荐(0)