登 录
int str_len(char *str) { assert(str != NULL); int len = 0 ; int i = 0 ; while( str[i]) { ++len ; ++i; // ++str; } return len;
抱歉!评论已关闭.