Main.cc: In function 'int w(int, int)': Main.cc:13:8: error: 'n' was not declared in this scope if(n==0) ^