0_0_35812268_12882.cpp:4:11: error: '::main' must return 'int' void main() ^ 0_0_35812268_12882.cpp: In function 'int main()': 0_0_35812268_12882.cpp:14:15: error: 'strlen' was not declared in this scope l=strlen(str); ^