Main.cc: In function 'int main()':
Main.cc:10:5: error: 'cin' was not declared in this scope
cin >> x >> a >> b >> c >> d;
^
Main.cc:16:5: error: 'cout' was not declared in this scope
cout << fixed << s
^
Main.cc:16:22: error: 's' was not declared in this scope
cout << fixed << s
^
Main.cc:13:12: warning: unused variable 'result' [-Wunused-variable]
double result = a * pow(x, 3) + b * pow(x, 2) + c * x + d;
^
Main.cc:16:22: error: expected '}' at end of input
cout << fixed << s
^