Class, friends and inheritance

Alrite, can anyone please explain to me in the most
simple of manners, what the three of the above mean and
how they are related........THANK YOU VERY MUCH.

what about in your own words.....
Please, can anyone explain in plain simple format
how these are related to each other and how they
make programming easy.......THANK YOU.
A class is an expanded concept of a data structure: instead of holding only data, it can hold both data and functions.

In principle, private and protected members of a class cannot be accessed from outside the same class in which they are declared. However, this rule does not affect friends.

A key feature of C++ classes is inheritance. Inheritance allows to create classes which are derived from other classes, so that they automatically include some of its "parent's" members, plus its own.
Thanks Josue,
what would I do without you....
You're welcome, but I simply copied sentences from the links Zhuge posted and pasted them here.
Well then I take back my "thank you", Josue...... ;)
Josue Molina wrote:
You're welcome, but I simply copied sentences from the links Zhuge posted and pasted them here.


Bwahahahahaha.

That was awesome.
Topic archived. No new replies allowed.