Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - public and private base classes _ http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                    Public and Private Base Classes                 _
   The   keyword  public  or  private,  placed  before  the  base   class
   identifier,  indicates  the  access  control  to  be  applied  to  the
   inherited members. Public means that the inherited members retain  the
   status  that  they  had in the base class, while  private  causes  the
   inherited  members  to  become private members of  the  derived  class
   regardless  of  their  original status. Such members  cannot  then  be
   directly  accessed  from  any further derivation.  If  the  public  or
   private specifier is omitted the default is to treat the base class as
   private. This is for reasons of compatibility with existing C++  code;
   new  code  should explicitly use the private  keyword.  The  protected
   keyword cannot be used in a derivation list.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson