1 2 3 4 5 6 7 8 9

What are the Basic C++ concepts


The following basic ideas are contained in C++


Classes and objects
Creating and destroying objects
Data members
Member functions
Access to class members

IMAGE imgs/lec-1701.gif

What is a class?


A class extends the notion of a structure in C


A class is a powerful ADT, including not onlydata
members, but alsomember functions (operators).


Each member function belongs to a particular class - the
idea is that these member functions is that they provide the
only means to access the data items.

8 March, 1998

Page {PAGE }

TAM/DS