2. G
• CPL – Combined Programming Language (1960s, University of Cambridge,
University of London)
• BCPL – Basic Combined Programming Language (1966, Martin Richards, language
for writing compilers)
• B (Dennis Ritchie, Bell Labs, 1969)
• C (Dennis Ritchie, Bell Labs, early 1970s, general purpose)
• C++ (Stroustrup, Bell Labs, 1983, C with objects)
• C++/CLI (Microsoft, 2005, “Managed” ECMA C++ Standard)
C++ - Evolution
Copyright @guvi.info 2013
3. G
Early programming languages
Classic C
Simula
Pascal
Algol68
BCPL
Fortran
Lisp
COBOL
Algol60
PL1
1950s: 1960s: 1970s:
Red==major commercial use
Yellow==will produce important “offspring”
Shamelessly taken from Stroustrup/Programming
Copyright @guvi.info 2013
4. G
Modern programming languages
Shamelessly taken from Stroustrup/Programming
Object Pascal
C++
Java95
C#Ada98
C++98
Java04
C++0x
Python
Lisp
Smalltalk
Fortran77
Ada
Eiffel
Simula67
COBOL89
PHP
C89
Pascal
PERL
Visual Basic
COBOL04 Javascript
Copyright @guvi.info 2013
5. G
Why C++?
• C++ is General purpose programming
language
• Mid level language: Combination of both high
level language and low level language
Copyright @guvi.info 2013
6. G
Whats Needed
• It is a way to make programs more
comprehensive
• Code
– Each function has a clearly defined purpose and a
clearly defined interface to other parts of program
– Module: Grouping of a number of functions together
• Variables
– Global data: The one that is accessible to all the
functions
– Local Data: the one that is accessible only to its own
confined block
Copyright @guvi.info 2013
7. G
Object oriented programming
• Combine data + functions into a single unit
that operate on that data; such a unit is called
an object/Thing
– data + functions object/Thing
• Object functions: Provide only way to access
its data; if you want to read a data item you
only need to access its function;
Copyright @guvi.info 2013
8. G
Quote
“There are only two kinds of languages: the ones people complain
about and the ones nobody uses”
Bjarne Stroustrup
Copyright @guvi.info 2013