C++ Jumpstart for Non-C Programmers
"The instructor brought this otherwise dry
subject
to life with insight and humor--intelligently presented."
- Former FORTRAN Programmer
Description
With its widespread
acceptance, the C++ language is now attracting many
programmers with little or no experience with C, the language from
which
C++ was developed, and with which C++ shares a common core of features,
syntax, coding techniques, and philosophy. However, most C++
programming
courses assume a background in the C language.
This course is designed to
provide these programmers with the background
necessary to take an introductory C++ course.
Note that this is not a
course in the C language; it is an introductory
course in C++ basics. As such, it prepares the student to learn C++ not
merely from the point of view of language features, but also from the
point
of view of design and programming philosophy. Many of the topics are
presented
in such a way as to foreshadow the use of similar or more advanced
features
discussed in subsequent C++ courses, such as Introduction
to Object-Oriented Programming in C++ and Advanced
C++ Programming.
The text contains extensive
notes sections that elaborate and expand
on the course material, and allow the text to be used as a reference.
Of
particular utility are numerous "gotcha" notes, set off by a special
symbol,
that show how to avoid subtle language and design errors
Audience
Experienced programmers
with little or no background in the C language.
Format
1-3 days, lecture/lab or
lecture
This course may be
customized to the individual client's application
domain, project, staff experience level, and scheduling requirements.
Outline
-
A C++ Program
-
Types and Declarations
-
Operators, Conversions, and Overloaded Operators
-
Flow of Control
-
Functions
-
The Preprocessor
-
Structure of a C++ Program
-
Pointers
-
addresses and pointers
-
pointers and arrays
-
address arithmetic
-
pointers to const
-
character strings
-
void *
-
arrays of pointers and pointers to pointers
-
pointers to functions
-
multidimensional arrays
-
Structures
-
structures and data members
-
composite structures
-
structures and pointers
-
self-referential structures
-
recursive functions and data structures
-
traversals
-
unions and bitfields