-
June 11th, 2008, 09:58 AM
#1
Derive from 2 base classes
Hello everyone,
I have two base classes with some functionalities. And i need another class to derive both some functions from the two base classes. So shall i derive both or derive from either, but how to include the other's functionalities? thank you all.
Eric
-
June 11th, 2008, 11:09 AM
#2
Re: Derive from 2 base classes
Victor Nijegorodov
-
June 11th, 2008, 12:08 PM
#3
Re: Derive from 2 base classes
Multiple base classes is perfectly legal in C++.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|