Main.cc: In function ‘int main()’:
Main.cc:9:5: error: ‘cin’ was not declared in this scope
cin >> num;
^~~
Main.cc:9:5: note: suggested alternative: ‘sin’
cin >> num;
^~~
sin
Main.cc:10:5: error: ‘cout’ was not declared in this scope
cout << fixed << setprecision(2) << fabs(num) << endl;
^~~~
Main.cc:10:5: note: suggested alternative: ‘cosl’
cout << fixed << setprecision(2) << fabs(num) << endl;
^~~~
cosl
Main.cc:10:54: error: ‘endl’ was not declared in this scope
cout << fixed << setprecision(2) << fabs(num) << endl;
^~~~
Main.cc:10:54: note: suggested alternative: ‘ynl’
cout << fixed << setprecision(2) << fabs(num) << endl;
^~~~
ynl