0_0_30816969_22178.cpp: In function 'int main()': 0_0_30816969_22178.cpp:19:24: error: 'strlen' was not declared in this scope int len = strlen(buf); ^