Thread: Multilevel Inheritance

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    37

    Multilevel Inheritance

    Hey guys... Can any of you suggest a good source of information on Multilevel Inheritance... I would greatly appreciate it... Thank you...

  2. #2
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    by multilevel, do you mean: class X inherits from Y, which inherits from class Z, which inherits from class N

    or: class X inherits from class Y, Z, and N

    or both?

  3. #3
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    multiple inheritance: Class X inherits from Class Y, Z, A
    multi-level inheritance: Class X inherits from Class Y, Class A inherits from Class B, Class X inherits from class B?

    I've never heard that term before as applied to inheritance...

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    There are two tutorials on inheritance:

    http://www.cprogramming.com/tutorial/lesson19.html
    http://www.cprogramming.com/tutorial/lesson20.html

    Neither of them covers multiple inheritance. I suggest you read a C++ book.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 06-08-2009, 03:03 PM
  2. Inheritance and program structure planning please help a newbie
    By ninjacookies in forum C++ Programming
    Replies: 1
    Last Post: 10-23-2005, 12:18 PM
  3. Multiple Inheritance - Size of Classes?
    By Zeusbwr in forum C++ Programming
    Replies: 10
    Last Post: 11-26-2004, 09:04 AM
  4. inheritance and performance
    By kuhnmi in forum C++ Programming
    Replies: 5
    Last Post: 08-04-2004, 12:46 PM
  5. Inheritance vs Composition
    By Panopticon in forum C++ Programming
    Replies: 11
    Last Post: 01-20-2003, 04:41 AM