Main.cc: In function 'int main()': Main.cc:5:16: error: 'op' was not declared in this scope cin>>num1>>op>>num2; ^