0_0_37214918_5043.cpp: In function 'void triangle()': 0_0_37214918_5043.cpp:12:31: error: 'memset' was not declared in this scope memset(maxn,0,sizeof(maxn)); ^