Click here to load reader
Upload
arun-prakash
View
502
Download
4
Embed Size (px)
DESCRIPTION
thanks to stroustrup for sharing his slides with me
Citation preview
Copyright @guvi.info 2013
G
Learn C++History of C++
Arun Prakash M
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
G
Early programming languages
Classic C
Simula
Pascal
Algol68
BCPL
Fortran
Lisp
COBOL
Algol60
PL\1
1950s: 1960s: 1970s:
Red==major commercial use
Yellow==will produce important “offspring”
Shamelessly taken from Stroustrup/Programming
Copyright @guvi.info 2013
G
Modern programming languagesShamelessly taken from Stroustrup/Programming
Object Pascal
C++
Java95
C#Ada98
C++98
Java04
C++0x
PythonLispSmalltalk
Fortran77
Ada
EiffelSimula67
COBOL89
PHP
C89
Pascal
PERLVisual Basic
COBOL04 Javascript
Copyright @guvi.info 2013
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
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
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
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
G
Nandri makka
Copyright @guvi.info 2013