0_0_23548321_29537.cpp: In function 'int main()': 0_0_23548321_29537.cpp:49:6: error: 'flag' was not declared in this scope if( flag ) ^