Main.cc: In function 'int main()': Main.cc:9:1: error: expected ';' before '}' token } ^ Main.cc:19:5: error: 'falg' was not declared in this scope if(falg==0){ ^