In the derived class when calling up a variable that was initialised in the base class, is there a need to say base.(variableName) or can it simply be left out

It can be left out in most cases.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.