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