0_0_29404432_6346.cpp: In function 'int main()': 0_0_29404432_6346.cpp:20:33: error: 'memset' was not declared in this scope memset(chosen,0,sizeof(chosen)); ^