Main.cc: In function ‘int main()’: Main.cc:11:5: error: ‘cin’ was not declared in this scope cin>>x>>n; ^~~ Main.cc:11:5: note: suggested alternative: ‘sin’ cin>>x>>n; ^~~ sin