Overview
This 5-day, lecture-and-lab course teaches fundamental C++ concepts such as algorithmic thinking, problem solving, introduction to classes and objects, control structures (if, if…else, switch, while, do…while, for), data types, operators, input/output, functions (user-defined and library), single-subscripted arrays and strings. After taking this course, students will be prepared to take C++102—Introduction to C++ for Non-Programmers: Part 2. The course can be customized to the client’s specific needs at no additional charge.
Our introductory classes emphasize achieving program clarity through the proven software-development techniques. Nonprogrammers learn skills that underlie good programming through dozens of complete, working programs—we call this the live-code approach. This hands-on approach rapidly builds the confidence of new programmers, because all programming concepts are presented in the context in which they will be used.
Prerequisites
- General familiarity with your operating system environment
- Ability to create and edit text files
Introduction to C++ Programming
- First Program in C++: Printing a Line of Text
- Modifying Our First C++ Program
- Another C++ Program: Adding Integers
- Arithmetic
- Decision Making: Equality and Relational Operators
Introduction to Classes and Objects
- Classes, Objects, Member Functions and Data Members
- Overview of the Chapter Examples
- Defining a Class with a Member Function
- Defining a Member Function with a Parameter
- Data Members, set Functions and get Functions
- Initializing Objects with Constructors
- Placing a Class in a Separate File for Reusability
- Separating Interface from Implementation
- Validating Data with set Functions
Control Statements: Part 1
- Algorithms
- Pseudocode
- Control Structures
- if Selection Statement
- if…else Double-Selection Statement
- while Repetition Statement
- Formulating Algorithms: Counter-Controlled Repetition
- Formulating Algorithms: Sentinel-Controlled Repetition
- Formulating Algorithms: Nested Control Statements
- Assignment Operators
- Increment and Decrement Operators
Control Statements: Part 2
- Essentials of Counter-Controlled Repetition
- for Repetition Statement
- Examples Using the for Statement
- do…while Repetition Statement
- switch Multiple-Selection Statement
- break and continue Statements
- Logical Operators
- Confusing the Equality (==) and Assignment (=) Operators
Functions
- Math Library Functions
- Function Definitions with Multiple Parameters
- Function Prototypes and Argument Coercion
- C++ Standard Library Header Files
- Case Study: Random Number Generation
- Case Study: Game of Chance; Introducing enum
- Storage Classes
- Scope Rules
- Function Call Stack and Activation Records
Arrays
- Arrays
- Declaring Arrays
- Examples Using Arrays
- Declaring an Array and Using a Loop to Initialize the Array’s Elements
- Initializing an Array in a Declaration with an Initializer List
- Specifying an Array’s Size with a Constant Variable and Setting Array Elements with Calculations
- Summing the Elements of an Array
- Using Bar Charts to Display Array Data Graphically
- Using the Elements of an Array as Counters
- Using Arrays to Summarize Survey Results
- Using Character Arrays to Store and Manipulate Strings
Price
- $12,995 lecture fee for up to 20 students maximum.
- Client purchases the books, at its own expense, directly from Pearson (the publisher) at the discounted Deitel rate.
- Instructor Travel Reimbursement (if travel is required).
Courses in the C++ Programming Curriculum
