Main.cc: In function ‘int pell(int)’: Main.cc:5:24: error: ‘n’ was not declared in this scope else return 2*pell(n-1)+pell(n-2); ^