C++ PROGRAMMING FOR NON-C PROGRAMMERS

Course Title: C++ PROGRAMMING FOR NON-C PROGRAMMERS

Course#: CP05I

Duration: 3 days

Description:

This course provides a solid foundation in C++ for those without any C programming experience. This course will cover the features of the C++ language and emphasizes key object-oriented programming concepts.

Topics:

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

Audience: Programmers moving to object-oriented programming using C++.

Prerequisites: Professional programming experience.





















All Contents Copyright © 2009 | Powered By KickMy.com