Main.cc: In function 'int main()':
Main.cc:6:5: error: expected ',' or ';' before 'bool'
bool f=true;
^
Main.cc:9:7: error: 'f' was not declared in this scope
f=false;
^
Main.cc:12:5: error: 'f' was not declared in this scope
if(f==true){
^