Main.cc: In function 'int main()': Main.cc:6:10: error: 'n' was not declared in this scope cin>>n>>m; ^ Main.cc:6:13: error: 'm' was not declared in this scope cin>>n>>m; ^