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

about inheritance in c++

P: n/a
hi ,
i am BCA student . but i don't know really about inheritance in
c++.
like for example,
class student{ int rollno, char name
class result{ }

Sep 23 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
salman wrote:
hi ,
i am BCA student . but i don't know really about inheritance in
c++.
like for example,
class student{ int rollno, char name
class result{ }
Apparently not, since what you wrote is in now way, shape, or form, C++.

Try again, and maybe we can help.
Sep 23 '06 #2

P: n/a
On 23 Sep 2006 08:19:27 -0700 in comp.lang.c++, "salman"
<ad***********@gmail.comwrote,
>hi ,
i am BCA student . but i don't know really about inheritance in
c++.
This issue is covered in Marshall Cline's C++ FAQ. See the section
"[19] Inheritance basics". It is always good to check the FAQ
before posting. You can get the FAQ at:
http://www.parashift.com/c++-faq-lite/

See the welcome message posted twice per week in comp.lang.c++ under
the subject "Welcome to comp.lang.c++! Read this first." or
available at http://www.slack.net/~shiva/welcome.txt

Sep 23 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.