0_0_36512579_14625.cpp: In function 'int main()': 0_0_36512579_14625.cpp:24:3: error: 'top' was not declared in this scope top=0; ^