Main.cc: In function 'int main()': Main.cc:8:18: error: invalid use of member function (did you forget the '()' ?) for(int i=0;i