Understanding C++ Programming Language

Understanding Object Oriented Programming Language

C++ is one of the Object Oriented Languages, other examples of these languages include, jaza, visual basic and many others

Below are basic definitions you need to know as you start your journey into the programming world. Here we go

A class - in C++ this refers to a user defined data types whose variables are Objects

C++ member variable – in C++ member variables are variables declared within a class declaration also known as data member or member data

Member function – in C++ programming language this refers to function whose declaration are made within a class declaration and are used to manipulate data member or member variable. Objects in C++ is an instance of a class

Instantiation – The process of creating an object of a particular class

Access specifies –refers to a keyword that determines whether class member are accessible in various part of your program, and there are three types of access specifiers in C++ namely

  • Public – allows all functions to be accessible within the whole programming area
  • Protected – these specifiers are accessible to member function of the same class or the derived class
  • Private – these specifiers are accessible through member function of the same class

Other definitions you need to know when getting started with C++ includes the following

Constructor – these are special kind of member function called automatically when a new Instance of a class is created

Destructor – are also special member function that is called automatically when an object of a particular class goes out of a scope

Members – refers to a variable or a function declared within a class

Parameter – elements use to communicate to the functions

Structure – in C++ a structure is a collection of a data items with different data types

Encapsulation – is the ability to group all data elements and functions that act on them as a single entity called class?

Function overloading – Using the same name for different functions in a program

Inheritance – in C++ inheritance is when a class acquires properties of another class

More by this Author


Comments 5 comments

Kevin Peter profile image

Kevin Peter 7 years ago from Global Citizen

When you write, try to write everything abt the subject ......

Always put some sample programe or code which is easily understandable by nontechies


oderog profile image

oderog 7 years ago from Nairobi Author

Thanks Kevin Peter, will do as you say


Oyetunji sheyi 5 years ago

Pls i'll lyk 2 know more abt the programming concept dt determines d sequential construct, selection construct e.t.c thks


Oyetunji sheyi 5 years ago

Pls i'll lyk 2 know more abt the programming concept dt determines d sequential construct, selection construct e.t.c thks


OHAELE EMMANUEL UGOCHUKWU 15 months ago

I love computer terminology. therefore I wish I ma studying computer as a course in university.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working