Main.cc: In function 'int main()': Main.cc:24:5: error: 'm' was not declared in this scope m = mi[r]; ^