0_0_31200609_7413.cpp:5:11: error: '::main' must return 'int' void main() ^ 0_0_31200609_7413.cpp: In function 'int main()': 0_0_31200609_7413.cpp:16:21: error: 'memset' was not declared in this scope memset(s,0,sizeof(s)); ^