Main.cc: In function 'int main()': Main.cc:18:14: warning: statement has no effect [-Wunused-value] l+1; ^ Main.cc:25:1: error: expected '}' at end of input } ^