Course Overview: CSC2402 Module 1 Part 1 1
Course Overview: CSC2402 Module 1 Part 1 1
History of C++
C++ invented by Bjarne Stroustrup early
1980s. Inspired by Simula67.
First commercial release 1985 was a C
preprocessor.
Now mostly native C++ compilers that directly
generate machine code.
ISO Standard in 1998 so older books and
compilers will differ in major ways.
CSC2402 Module 1 Part 1
Assumed Knowledge of C
Reference arguments
Overloaded names
Default arguments
Pointers to functions
Why OO Development?
Improved structure of software easier to:
Understand
Maintain
Enhance
Key OO Concepts
Data Abstraction
ADTs, information hiding
C++ classes
Inheritance (generalisation)
Class hierarchies, inheritance
Polymorphism
Same operations on different classes/objects
Virtual functions
Operator overloading
CSC2402 Module 1 Part 1
OO Software Development
OO Analysis:
Identifying required functionality, classes and their
relationships
OO Design:
Specifying class hierarchies, class interfaces and
class behaviour
OO Programming:
Implementing an OO design in an OO
programming language
CSC2402 Module 1 Part 1