Click to See Complete Forum and Search --> : inheritance


loay
April 16th, 2003, 03:31 AM
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

Gabriel Fleseriu
April 16th, 2003, 03:44 AM
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>

kuphryn
April 16th, 2003, 10:39 AM
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