0_0_16668692_25047.cpp: In function 'int main()': 0_0_16668692_25047.cpp:47:9: error: 'cur' was not declared in this scope cur=0; ^