SEARCH THIS BLOG

INTRODUCTION TO C++

C++ INTRODUCTION


The C++ Programming language was developed at AT&T Bell Laboratories in the early 1980s by Bjarne Stroustrup. He found ‘C’ lacking for simulations and decided to extend the language by adding features from his favourite language, Simula 67. Simula 67 was one of the earliest object-oriented languages. Bjarne Stroustrup called it “C with Classes” originally.


The name ‘C++’ (pronounced C plus plus) was coined by Rick Mascitti where ‘++’ is the C increment operator. Ever since its birth, C++ evolved to cope with problems encountered by users, and through discussions at AT&T. However, maturation of the C++ language was attested to by two events:

  •        The formation of an ANSI (American National Standard Institute) C++ committee
  •        The publication of The Annotated C++ Reference Manual by Ellis and Stroustrup.

 

Benefits of C++ over C Language

The major difference being OOPS concept, C++ is an object oriented language whereas C language is a procedural language. Apart from this there are many other features of C++ which gives this language an upper hand on C language.

Following features of C++ makes it a stronger language than C,

1.    There is Stronger Type Checking in C++.

2.    All the OOPS features in C++ like Abstraction, Encapsulation, Inheritance etc makes it more worthy and useful for programmers.

3.    C++ supports and allows user defined operators (i.e. Operator Overloading) and function overloading is also supported in it.

4.    Exception Handling is there in C++.

5.    The Concept of Virtual functions and also Constructors and Destructors for Objects.

6.    Inline Functions in C++ instead of Macros in C language. Inline functions make complete function body act like Macro, safely.

7.    Variables can be declared anywhere in the program in C++, but must be declared before they are used.

 

C++ standards document was issued by ANSI/ISO in year 2011 namely C++11 or formally C++0x. Practically, this standard onward C++ has adopted genuine and easy to use features about which we will learn here. 

 

The major reason behind the success and popularity of C++ is that it supports the object oriented technology, the latest in the software development and the most near to the real world.



Object Oriented Technology is regarded as the ultimate paradigm for the modelling of information, be that data or logic. The C++ has by now shown to fulfill this goal.

 


Post a Comment