Home

Phlip <phlip2005@gmail.com> wrote:

> [CC'd to a design newsgroup, because the answer is not specific to C++]
>
> karthikbalaguru wrote:
>
> > What could be the maximum Accepted Layers/Levels of inheritance in a
> > normal C++ program that has private(data),protected(data) and
> > public(data,member functions) ?

I don't think there should be any maximum number of "accepted layers".
Make it as deep as you want. However, I think that all base classes in
C++ should contain only pure-virtual functions and no data (i.e.,
interface classes.)

previous
next

Re: Efficient Rank Ordering of Nested Lists
Re: how to reach an arbitrary index in a std::list
Re: A question: Convert double to string
Re: I am new to programming and wanted to know where a good placeto start for C++
Re: Whats the C++ equivalent of reading from stdin or a file
Fundacja Sloneczko
Fundacja Hobbit
Dzieci Niczyje
Pajacyk
Fundacja Iskierka