can you use inheritance with structs

This is a discussion on can you use inheritance with structs within the C++ Programming forums, part of the General Programming Boards category; can you use inheritance with structs, much like the way you can with classes?...

  1. #1
    Shadow12345
    Guest

    can you use inheritance with structs

    can you use inheritance with structs, much like the way you can with classes?

  2. #2
    Registered User Mario's Avatar
    Join Date
    May 2002
    Posts
    317
    Under C++ yes. Under C, no.
    Regards,
    Mario Figueiredo
    Using Borland C++ Builder 5

    Read the Tao of Programming
    This advise was brought to you by the Comitee for a Service Packless World

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 06-08-2009, 03:03 PM
  2. Creating array of structs
    By knirirr in forum C++ Programming
    Replies: 12
    Last Post: 06-18-2008, 08:30 AM
  3. 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
  4. inheritance and performance
    By kuhnmi in forum C++ Programming
    Replies: 5
    Last Post: 08-04-2004, 12:46 PM
  5. Searching structs...
    By Sebastiani in forum C Programming
    Replies: 1
    Last Post: 08-25-2001, 12:38 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21