Quote Originally Posted by Daved View Post
You have to call the base class constructors from the derived class constructors to initialize the base class data before you use it. For example, you are using size in your constructors, but that is part of the base class and it hasn't been initialized correctly if you haven't called the base class constructor.
the size and stringlength variables seem to work correctly when I look at their values in the debugger.