HOSTORY OF C++
C++ was developed by Bjarne Stroustrup at AT& T Bell Laboratories in Muarry Hill, New Jersy (USA) in 1983. the version 1.0 of c++ become commercially avaliable in 1983 , version 2.0 of c++ in 1989 and version 3.0 in 1992.
How it forms:
It is Discovered With the combination os Several LANGUAGES and CLASSES
SIMULA67 - Simula67 was dicovered in Norway in 1968.
C with Classes - It is Formed with hthe combination of Simula67 & C revised , to developement of New language calles C with CLASSES & it is Discovered by BJARNE Stroustrup in 1979/
In C++ To Make Programmes we Use Some Objects and classes.
Difference Between Object and classes:
OBJECT |
CLASS |
|---|---|
| 1. Data & Function that operation data binded together to forma an object. | 1. A Collection of objects with same attributes & common behaviour. |
| 2. Objects are real word entries. | 2. Class is just a specification or a logical entry to create a object. |
| 3. Object occupy some space in memory. | 3. Classes does not consume space in memory. |
| 4. Object is an instance of class. | 4. A class can have Many Objects. |
| 5. Table, Chair, Sofa are some Examples of Object. | 5. Furniture is an example of Class which has table, chair, sofa Objects |
C++ has More characteristics than normal C language given below:
- C++ is a popular and versatile language for developing large and complex application.
- C++ has a rich collection of standered class libraries, inbuilt functions and datatypes.
- C++ is an extension of C with object oriented feautres.
- The program written in C++ is well suited for modelling real world problems.
- C++ provides very efficent memory management technique.
- In C++, Complex data types called Abstract Data Types (ADTs) can be created using classes.
- C++ is a portable language and programmes formed in it can be used in different machines.
- C++ compiler is easily available and it requires less space to store.
- C++ is A flexible Language, it can performes several functions with same name that performed different tasks
- C++ is easy to maintain Free of error as these errors can be located easily & then rectified.
- New programmes can be develope in lesser time.
- C++ allows programmer to Redefine the meaning of exisiting operator such as Plus (+) minus (-) .
Next Chapter Starting Structure of C++