Main.cc: In function ‘int main()’: Main.cc:6:11: error: ‘strlen’ was not declared in this scope int len=strlen(str); ^~~~~~ Main.cc:6:11: note: suggested alternative: ‘mbrlen’ int len=strlen(str); ^~~~~~ mbrlen Main.cc:13:10: error: expected ‘}’ at end of input return 0; ^