By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,494 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,494 IT Pros & Developers. It's quick & easy.

please give me an advice

P: n/a
hi all, i want to modify a class's interface, that will reference many classes which inherit it
is there any advice to me?

thanks
Oct 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

freegnu wrote:
hi all, i want to modify a class's interface, that will reference many classes which inherit it
is there any advice to me?

thanks
We could be here until christmas (2010) to answer that question.
Why not show a short explanation of the issue you are having? Should
you be using composition instead? Is the class abstract? are you using
pointers to base class? what do the ctors look like? which one of its
interfaces are bothering you? why? Is the interface virtual?
pure-virtual? what result did you expect? what result are you getting?
etc...
Inheritance is a diverse, sometimes complex, forever expandeable
subject.
Show a skeleton with a base and a derived class and throw something
relevent at us, please.

class Base
{
};

class Derived : public Base
{
};

int main()
{
Derived derived;
return 0;
}

Oct 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.