Main.cc: In function ‘int main()’:
Main.cc:5:27: error: expression list treated as compound expression in initializer [-fpermissive]
int a,b,c(a>0,b>=0,c>0);
^
Main.cc:5:16: warning: left operand of comma operator has no effect [-Wunused-value]
int a,b,c(a>0,b>=0,c>0);
~^~
Main.cc:5:20: warning: right operand of comma operator has no effect [-Wunused-value]
int a,b,c(a>0,b>=0,c>0);
~^~~
Main.cc:6:10: error: ‘abc’ was not declared in this scope
cin>>abc;
^~~
Main.cc:6:10: note: suggested alternative: ‘abs’
cin>>abc;
^~~
abs
Main.cc:7:11: error: ‘cba’ was not declared in this scope
cout>>cba;
^~~