0_0_25065696_13431.cpp: In function 'int main(int, char**)': 0_0_25065696_13431.cpp:19:3: error: 'flag' was not declared in this scope flag = 0; ^