(Affiliated to Barkatullah University, Bhopal)
E-Content (Study Material)
for
UNIT – I
Part-2
Page 1 of 12
, 1. Introduction to C++
C++ was developed by Bjarne Stroustrup (Bell Labs, 1979) and it started as extension to C (macros and
variables). C++ added new useful features to C.
Features of C++:
• Object Oriented
• Simple to learn and implement
• Mid-level programming language
• Structured programming language
• Rich Library
• Memory Management
• Powerful & Fast
2. History of C++:
Year Language Developed by Remarks
1960 ALGOL International Committee Too general, Too abstract
1963 CPL (Combined PL) Cambridge University Hard to learn, Difficult to implement
1967 BCPL (Basic CPL) Martin Richards Could deal with only specific problems
1970 B Ken Thompson AT & T Bell Labs Could deal with only specific problems
1972 C Dennis Ritchie AT & T Bell Labs Lost generality of BCPL and B restored
Early 80’s C++ Bjarne Stroustrup AT & T Introduces OOPs.
3. Application of C++:
• To Design OS • Development of new languages
• Engineering Applications • Embedded System Programming
• Desktop Applications • Compiler Design
• Game Development • Design Web Browsers
4. Compiling and Linking:
■ After writing a C++ program, the next step is to compile the program before running it.
■ The compilation is the process which converts the program written in human readable language
like C, C++ etc. into a machine code, directly understood by the Central Processing Unit.
■ There are many stages involved in creating a executable file from the source file. The stages
include Preprocessing, Compiling and Linking in C++.
■ This means that even if the program gets compiled, it may result in not running as errors may arise
during the linking phase.
Page 2 of 12