0_0_19306086_19254.cpp: In function 'int main()': 0_0_19306086_19254.cpp:15:39: error: 'memset' was not declared in this scope memset(matrix,0,sizeof(matrix)); ^