Main.cc: In function ‘int main()’: Main.cc:14:13: error: ‘r’ was not declared in this scope int l = 1; r = n; ^