Using a char arrays that change inside class members

Pages: 12
That fixed it!


...But it only works on the C++ shell website and not on my visual back C++ from 2010. :( Hope my instructor considers that good since it does do what it's supposed to.

EDIT: My instructor has accepted the work.

Thank you for your help, MiiNiPaa!
Last edited on
Hmm... There is probably some C++11 feature used. Can you upgrade your compiler to something up-to-date?

And what errors does it shows?
Mostly syntax errors like:

error C2143: syntax error : missing ')' before '{'

On your constructor

and

error C2447: '{' : missing function header (old-style formal list?)

on your {} below your constructor.

I may just use C++ shell from now. Much less of a headache to run things as well.
Topic archived. No new replies allowed.
Pages: 12