Main.cc: In function ‘int main()’:
Main.cc:7:7: error: expected ‘;’ before numeric constant
3 4 3
^
Main.cc:14:14: warning: statement has no effect [-Wunused-value]
int a = 1;
^
Main.cc:17:5: error: ‘cout’ was not declared in this scope
cout << "a+b= " << a + b << endl;
^~~~
Main.cc:17:5: note: suggested alternative: ‘cosl’
cout << "a+b= " << a + b << endl;
^~~~
cosl
Main.cc:17:24: error: ‘a’ was not declared in this scope
cout << "a+b= " << a + b << endl;
^
Main.cc:17:33: error: ‘endl’ was not declared in this scope
cout << "a+b= " << a + b << endl;
^~~~
Main.cc:17:33: note: suggested alternative: ‘ynl’
cout << "a+b= " << a + b << endl;
^~~~
ynl
Main.cc:27:11: error: expected ‘;’ before numeric constant
1 2 2 3
^
Main.cc:31:13: warning: statement has no effect [-Wunused-value]
return 0;
^