Professional Documents
Culture Documents
By: Marc Conrad University of Luton Email: Marc - Conrad@luton - Ac.uk Room: D104
By: Marc Conrad University of Luton Email: Marc - Conrad@luton - Ac.uk Room: D104
By: Marc Conrad University of Luton Email: Marc - Conrad@luton - Ac.uk Room: D104
Development
By:
Marc Conrad
University of Luton
Email:
Marc.Conrad@luton.ac.uk
Room:
D104
1
What are we doing today?
Introduction of:
the lecturer
Objects
Basic Terminology
C++
the module
2
What is Object Oriented
Programming?
3
What is an object?
4
So, what are objects?
= +
8
Basic Terminology
9
Basic Terminology:
Inheritance
A car is a vehicle
A dog is an animal
A teacher is a person
10
Basic Terminology:
Polymorphism
12
Basic Terminology:
Behaviour and Messages
13
The two steps of Object
Oriented Programming
14
Historical Notes
C++ owes most to C.
Other ancestors are Simula67
and Algol68. C++ 1987
First versions of C++ in 1980 under the name
“C with classes”. Since 1983 the name C++ is
used.
1990: ANSI/ISO 9899 defines a standard for C
1998: ISO/IEC 14882 specifies the standard
for C++
15
C++ and C
C is a subset of C++.
Advantages: Existing C libraries can be
used, efficient code can be generated.
But: C++ has the same caveats and
problems as C (e.g. pointer arithmetic,…).
C++ can be used both as a low level and
as a high level language.
o n t h e
f o c us ts .
W e a sp e c
le v e l
high 16
C++ and Java
18
Assessment Details
19
Books
20
Websites