
Initially, the
C++ programming language was considered as just an enhanced version of the C
program with a few extra keywords. But it is not so. It is one of the well designed
and widely accepted object oriented programming languages.
C++ has
become quite popular due to the following reasons:
- · · It supports all features of both structured programming and object oriented programming.
- · It gives the easiest way to handle the data hiding and encapsulation with the help of powerful keyword such as class, private, public and protected.
- · Polymorphism through virtual function, virtual based classes and virtual destructors give the late binding of the compiler.
- · Inheritance, one of the most powerful design concepts is supported with single inheritance and multiple inheritance of base class and derived classes.
- · It provides overloading of operators and functions.
- · C++ focuses on function and class templates for heading parameterized data types.
- · Exception heading is done with the extra keyword , namely, try, catch and throw.
- · Provides friends, static methods, constructors destructors for the class objects.
This blog has
been organized in such a manner that new programmers will find easy to read and
understand. I have assumed the reader has no prior knowledge of C++.
This comment has been removed by a blog administrator.
ReplyDelete