on line 55, I get error that like this: error: request for member 'length' in 'number->Pokedex::rest', which is of pointer type 'Pokedex*' (maybe you meant to use '->' ?)
return 1 + number->rest.length();
does anyone know what the problem is?
I just want to do If I have the empty Pokedex, the length is zero, otherwise the
length of the Pokedex is 1 plus the length of the rest of the Pokedex.