Programming in C++ For Non-C Programmers Course
Course Description
Course pre-requisites:
Topics covered on the 5 day Programming in C++ For Non-C Programmers course
Getting Started
- The First Program (hello.cpp)
- Compile Steps
- How to Compile and Run a Program
Data Types and Variables
- Fundamental Data Types
- Data Type Values and Sizes
- Variable Declarations
- Variable names
- Constants
- Character Constants
- String Constants
Operators and Expressions
- What are expressions?
- Arithmetic Operators
- Relational Operators
- Assignment Operator
- Expressions have resulting values
- True and False
- Logical Operators
- Increment and Decrement Operators (++ and --)
- 'Operate-Assign' Operators (+=, *=, ...)
- Conditional Expression
- Operator Precedence
- Precedence and order of evaluation
- Evaluation of Logical Operators
- Type Conversions
- The cast operator
Control Flow
- Statements
- if - else
- if() - else if ()
- switch()
- while()
- do - while()
- for()
- The for() loop - diagram
- The break statement
- The continue statement
Functions
- What is a function?
- Why use functions?
- Anatomy of a function
- Arguments passed by value
- When to Use the return Statement
- Returning Non-integer Values
- Functions in Multiple Source Files
- The Concept of Variable Scope
- Automatic Variables
- Global (external) variables
- Static Variables
- External Static Variables
Pointers and Arrays
- What is a pointer?
- Pointer Operators
- Why use pointers?
- Arrays:
- Arrays (a picture)
- The & Operator
- Pointers and arrays
- Passing arrays to functions
- Initializing arrays
- Strings and character pointers
- What is char s[7] ???
- Arrays of pointers
- Arrays of pointers - diagram
- Command-line arguments
Structures
- Comparison of structures and arrays
- Structure definitions
- Structure declarations
- Arrays of structures
Course Classification:
Technical Training Course
This is an instructor led training course taught in a classroom based environment.
Scheduled course dates
| March 2010 | April 2010 | May 2010 | June 2010 | July 2010 |
| 15-19 | 26-30 | 24-28 | 21-25 | - |
View full schedule of C Programming courses
Print / Download PDF Version of full course schedule
If you would prefer to run this course at your premises as you have several employees to place on the course perhaps, then we are also able to offer onsite Programming Training and bespoke Programming courses