|
C++ Programming
Workshop
I. Introduction
A.
History of C and C++
B.
History of Object-Oriented Programming (OOP)
C.
Advantages of OOP
D.
Fundamentals of OOP
1.. Abstraction
2. Encapsulation
3. Inheritance
4. Polymorphism
E.
The C++ Compiler
II. Extensions to the C Language
A.
Comments
B.
const
C.
Function prototypes and default arguments
D.
Variable declarations
E.
struct and enum data types
F.
References
G.
iostream - cout and cin
H.
Overloaded functions
III. Introduction to Classes
A.
Classes and objects - what they are
B.
Structures and classes
C.
Function and data members
D.
visibility - public and private keywords
E.
Constructors & Destructors
F.
Order of initialization
G.
Static data members
H.
Header and Source files
IV. Overloading Operators and functions
A.
Copy constructors
B.
Assignment vs. initialization
C.
Friend functions
D.
Type conversion
V. Pointers and dynamic memory allocation
A.
The new and delete keywords
B.
The this keyword
C.
Using with arrays
D.
A string class
VI.
Inheritance
A.
Basic concepts of inheritance - Base and derived classes
B.
The protected keyword
C.
Disabling and modifying inherited functions
D.
Virtual Functions
E.
Abstract classes
F.
Multiple inheritance
G.
Virtual base classes
H.
Composition vs. inheritance
VII. Object-Oriented Analysis and Design
A.
Overview - OOA, OOD, OOP
B.
Object Oriented Analysis
1. Use
Cases
2. CRC
cards
C.
Object-Oriented Design
1. Modeling classes and objects
2. State
and Sequence Diagrams
3. UML
VIII. An Example Object-Oriented Workshop
|