0_0_21188543_24461.cpp: In function 'int main()': 0_0_21188543_24461.cpp:74:9: error: 'flag' was not declared in this scope flag=1; ^