Wednesday 7 November 2012

Introductions of C++



History of programming approaches:

At each critical point in the evolution of programming, a new approach was created to help the programmer handle increasingly complex programs.
The first programs were created by toggling switches on the front panel of the computer.
This approach is suitable for only the  smallest programs.
Next, assembly language was invented, which allowed longer programs to be written.
The next advance happened in the 1950s when the first high level language (FORTRAN) was invented.
By using high level programming language, a programmer was able to write programs that were several thousand lines long.
However the method of programming was ‘anything’ goes approach. It yields unreadable and unmanageable code.
Next invention is structured programming languages in the 1960s.
C is a structured programming language as it contains control structures, code blocks and absence of goto (or at least minimal use).
To allow more complex programs to be written, a new approach of programming is needed. So the object oriented programming was invented.
OOP takes the best of the ideas embodied in structured programming and combines them with powerful new concepts that allow you to organize your program more effectively.

Inventions of programming languages:
In 1940s, Assembly language was invented which is a machine level language; also it comes under low level language.
In 1950s, FORTRAN was invented. It is first high level programming language that is machine independent language.
In 1966, BCPL was invented by Martin Richards. BCPL stands for Basic Combined Programming Language.
In 1969, B language was developed by Ken Thompson. He is also know as developer of UNIX operating system.
In 1972, C language was developed by Dennis Ritchie at AT &T’s Bell Lab, New Jersy USA.
In 1979, C++ language was developed by Bjarne Stroustrup. Initially C++ was pronounced as C with classes.

Some Points about C++:
C++ was developed by Bjarne stroustrup in the year 1979 at AT and T’s Bell Labs, New Jersey USA.
C++ is an enhancement in C, so it consists of all the features that C provides.
Initially C++ was known as ‘C with classes’.
In the year 1983, it is named as C++.
C++ is also a middle level language just like C.

No comments:

Post a Comment