0_0_21073481_31318.cpp: In function 'int main(int, char**)': 0_0_21073481_31318.cpp:78:34: error: 'memset' was not declared in this scope memset ( g, 0, sizeof(g) ); ^