Main.cc: In function 'int main()':
Main.cc:8:24: error: 'strlen1' was not declared in this scope
int len1 = strlen1(str);//字符数组求长度
^
Main.cc:9:26: error: 'str2len2' was not declared in this scope
int len2 = str2len2(str2);
^