0_0_29360182_29316.cpp: In function 'int main()': 0_0_29360182_29316.cpp:7:32: error: 'memset' was not declared in this scope memset(total,0,sizeof(int)*100); ^