Main.cc: In function 'int main()': Main.cc:9:20: error: 'a' was not declared in this scope scanf ("%d %d",a b); ^ Main.cc:11:7: error: 'b' was not declared in this scope d=b/a; ^ Main.cc:14:16: error: no match for call to '(std::ostream {aka std::basic_ostream}) (const char [3], int&)' cout("%d",h); ^