Main.cc: In function 'int main()':
Main.cc:26:3: error: expected ';' before 'bool'
bool flag=true;
^
Main.cc:29:7: error: 'flag' was not declared in this scope
if(flag&&str[i] !=' ')
^
Main.cc:32:5: error: expected ',' or ';' before 'if'
if(str[i]>='a'&&str[i]<='z')
^
Main.cc:38:5: error: 'flage' was not declared in this scope
flage=true;
^
Main.cc:41:2: error: expected '}' at end of input
}
^