Main.cc: In function 'int main()': Main.cc:5:12: error: 'a' was not declared in this scope cin >> a >> b; ^ Main.cc:5:17: error: 'b' was not declared in this scope cin >> a >> b; ^