/in/count.cpp: In function 'int countNumDecimals(const string&)':
/in/count.cpp:7:31: error: 'strlen' was not declared in this scope
char *p = find(str, str + strlen(str), '.')
^~~~~~
/in/count.cpp:7:31: note: suggested alternative: 'mbrlen'
char *p = find(str, str + strlen(str), '.')
^~~~~~
mbrlen
/in/count.cpp:24:1: error: a function-definition is not allowed here before '{' token
{
^
/in/count.cpp:7:11: warning: unused variable 'p' [-Wunused-variable]
char *p = find(str, str + strlen(str), '.')
^
/in/count.cpp:26:1: error: expected '}' at end of input
}
^