Main.cc: In function 'int main()': Main.cc:10:29: error: invalid operands of types 'int' and '' to binary 'operator<' cout<<c*1000+b*100+d*10<e<<endl; ^