I think that all of these lines inside the class definition need to be "out dented" one tab... namely, the "public:" and "private:" should be lined up with the 0 column/left hand side. and then everything indented from there as normal.