CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: inheritance

  1. #1
    Join Date
    Apr 2003
    Location
    Denmark
    Posts
    2

    Question inheritance

    Hi,

    I wonder if some one may help me with this question..

    Write a base class for a film which is described using the properties: title and duration. Write two derived classes: a directory cut that adds the name of the director and a foreign film that adds language as properties.
    For all classes there must be get and set member function and a show function to display the contents.

    Thanks
    Loay

  2. #2
    Join Date
    Jun 2001
    Location
    Switzerland
    Posts
    4,443
    Sorry, we do not solve homeworks here.

    <edit>

    To be more specific: you should prove that you have at least tried to solve your homework, and ask specific questions. If there is a point where you get stuck, we are glad to help.

    </edit>
    Gabriel, CodeGuru moderator

    Forever trusting who we are
    And nothing else matters
    - Metallica

    Learn about the advantages of std::vector.

  3. #3
    Join Date
    Feb 2002
    Posts
    5,757
    What kind of help do you need? I do not see a problem. I see a description of a set of requirements for a program.

    Kuphryn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured