0_0_24601043_12085.cpp: In function 'int main()': 0_0_24601043_12085.cpp:31:36: error: 'memset' was not declared in this scope memset(a,0,M*sizeof(double)); ^