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

extends in C++?

P: 63
In java you can say something like:

public class child extends parent
{
}

And child will have all of the parentís functions. From there you can write new functions and overload parent functions. My question is, is there an extends equivalent in C++?
Nov 1 '06 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
In java you can say something like:

public class child extends parent
{
}

And child will have all of the parentís functions. From there you can write new functions and overload parent functions. My question is, is there an extends equivalent in C++?
http://www.codersource.net/cpp_tutorial_inheritance.html
Nov 1 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.