oh yeah sorry the definitions of the functions
I'm pretty sure what the op is trying to do is something like this
int main( int argc , char **argv)
void function( void )
std::cout << "I am not going to be called ever!" << std::endl;
unless classes act as a prototype I normally just put it before the main.
Actually forget that...the class acts as the prototype I dont know what I was thinking.
I think the error is just because you didn't name the object correctly earlier.
Also on line 34 .length is a function so you need to put
Line 42 missing a semicolon
line 52 missing a semicolon
line 63 missing a semicolon
line 72 missing a semicolon
line 82 missing a semicolon
line 92 missing a semicolon