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