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 VC++102—Introduction to Visual C++ 2008 for Non-Programmers: Part 2.
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
Dive Into® Visual C++® 2008 Express
- Overview of the Visual Studio 2008 IDE
- Menu Bar and Toolbars
- Navigating the Visual Studio 2008 IDE
- Solution Explorer
- Properties Window
- Using Help
Introduction to Visual C++ Programming
- First Program in Visual C++: Printing a Line of Text
- Modifying Our First Visual C++ Program
- Another Visual C++ Program: Adding Integers
- Memory Concepts
- 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
- Defining a Managed Class with Member Functions in C++/CLI
- Instance Variables and Properties in C++/CLI
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
- Program Components in Visual C++
- 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
- Functions with Empty Parameter Lists
Arrays and Vectors
- 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
- Static Local Arrays and Automatic Local Arrays
- Passing Arrays to Functions
- Case Study: Class GradeBook Using an Array to Store Grades
Price
- $12,995 lecture fee for up to 20 students maximum. Add $1,000 for international or custom classes.
- 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 Visual C++ 2008 Curriculum
