PROGRAMMING IN THE ANSI STANDARD C++ LANGUAGE
Course Length: Four Days
COURSE DESCRIPTION
This course will teach the syntax and constructs of the Standard C++
programming language. Both basic and advanced techniques
will be shown.
The course can be delivered on either / both a Windows or Unix / Linux
(using a virtual machine Solaris or Red Hat O/S) platform.
COURSE OBJECTIVES
The overall course objective is to teach sufficient C++ language
information to have the programmer at production coding
level by the end of the course.
COURSE PREREQUISITES
It is assumed that the student has taken a C language programming
course, and/or is proficient in C constructs.
COURSE TOPICS
Overview of object oriented programming
evolution of programming types
encapsulation
polymorphism
inheritance
modularity and abstraction
Review of major C language features
C++ language program structure
common features with ANSI C
Differences between C and C++
function prototyping
positioning of variable declarations
character constant conversion
identifier names conventions
operator precedence
overloading operators
COURSE TOPICS
Basic and advanced I/O in C++
istream class
ostream class
cout and cin I/O object (functions)
I/O manipulators
character and line input objects
customizing I/O manipulators
file I/O functions
Defining and using classes
basic class definition
private and public members
allocation of (class) objects
constructors and destructors
dynamic memory allocation/deallocation
arguments to constructors
defining and using template (generic) classes
using RTTI to determine object types
Arrays, pointers, and references in C++
object pointers
assigning objects
the this pointer
arrays of objects
Namespaces
defining and using
referencing identifiers in namespaces
the std namespace
COURSE TOPICS
Exception Handling
overview of C++ exception handling
establishing a try block with catch handlers
different methods of throwing an exception
Defining and using Functions in C++
class member functions
prototyping
overloading function capabilities
(automatic) in-line functions
passing objects to functions
returning objects from functions
returning references from functions
friend functions
references
virtual functions
overloading constructor functions
template functions
default arguments
Inheritance
base and derived classes
access control
constructors and destructors
multiple inheritance
virtual base classes
The Standard Template Library
history of the library
containers, algorithms, references, and iterators
using the vector, map, and string templates