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