0_0_21592608_16601.cpp: In function 'int main()': 0_0_21592608_16601.cpp:10:3: error: 'flag' was not declared in this scope flag=1; ^