C/C++ Programming: FastPath Introduction

Codes:

ZD77-702, ZD77-704

Series:

Computer Professional

Duration:

5 days

Introduction to C
The C Language and its Advantages
The Structure of a C Program
Writing C Programs
Building an Executable Version of a C Program
Debugging a C Program
Examining and Running a C Application Program

Data Types and Variables
Data Types
Operands, Operators, and Arithmetic Expressions

Input/Output Management
The Input/Output Concept
The getchar() and putchar() Functions and Single-character I/O
Formatted Input and the scanf() Function

Control-Flow Statements
The Control-Flow Program Statements
Looping Statements
The Data-checking process

Modular Programming with Functions
The C Function
Passing Data to Functions
Passing an Address to Modify a Value in Memory
Using Functions in the Checkbook Program
The C Standard Library Functions

Arrays, Pointers, and Strings
Arrays
Pointers
Strings
Using Arrays, Strings, and Pointers in the Checkbook Program

Structures and Dynamic Memory Allocation
Structures
Arrays of Structures
Passing Structures to Functions
Nesting Structures
Dynamic Memory Allocation

The Preprocessor and Multiple-file Compilation
The C Preprocessor and the #include and #define directives
The Conditional Compilation Directives
Global Variables and Variable Storage Classes
Program Organization and Multi-file Compilation

File Input/Output
Command-line Arguments
File Input and Output
Combining Command-line Arguments and File I/O

Appendices
The ASCII Table
The Bitwise Operators
A Comparison of the ANSI C and K&R Function Formats
Enumerated Data Types
Unions

C++ Overview
C++ Characteristics
Object-Oriented Terminology
Polymorphism
Object-Oriented Paradigm
Abstract Data Types
I/O Services
Standard Template Library
Standards Compliance

Functions and Variables
Functions: Declaration and Definition
Variables: Definition, Declaration and Scope
Variables: Dynamic Creation and Derived Data
Arrays and Strings in C++
Qualifiers

Classes in C++
Defining Classes in C++
Classes and Encapsulation
Member Functions
Instantiating and Using Classes
Using Constructors
Multiple Constructors and Initialization Lists
Using Destructors to Destroy Instances
Friendship

Operator Overloading
Operator Overloading
Working with Overloaded Operator Methods

Initialization and Assignment
Initialization vs. Assignment
Constructors
Assigning Values
Specialized Constructors and Methods
Constant and Static Class Members

Storage Management
Memory Allocation
Dynamic Allocation: new and delete

Inheritance
Overview of Inheritance
Defining Base and Derived Classes
Constructor and Destructor Calls

Polymorphism
Overview of Polymorphism

Input and Output in C++ Programs
Standard Streams
Manipulators
Unformatted Input and Output
File Input and Output

Exceptions
Exceptions
Inheritance and Exceptions
Exception Hierarchies
Inside an Exception Handler

Templates
Template Overview
Customizing a Templated Method
Standard Template Library Containers


C/C++ Programming: FastPath Introduction

Course specifications
Course numbers: 077702,, 077704
Software version number: n/a
Course length: 5 days

Course description

Overview:

Students will learn the fundamentals of the ANSI C and C++ programming languages.


Prerequisites:

Background in a structured programming language, such as Pascal, is desirable, though not required.


Delivery method:

Instructor-led, group-paced, classroom-delivery learning model with structured hands-on activities.


Benefits:

Students will learn how to read, interpret, modify, and create C and C++ programs.


Target student:

Students enrolling in this course should understand the basic concepts involved in writing computer programs.


Performance-based objectives
Lesson objectives help students become comfortable with the course, and also provide a means to evaluate learning. Upon successful completion of this course, students will be able to:

  • Recognize the basic components and structure of a C program.
  • Define variables by using the basic C data types; and use the fundamental C operators and operands in conjunction with variables to create C expressions and statements.
  • Use the functions getchar(), putchar(), printf(), and scanf() to perform formatted input and output.
  • Create control-flow statements with the C branching and looping constructs.
  • Create modular programs by defining functions and by using the library functions and header files.
  • Use arrays and pointers to store and manipulate data; and to use the gets(), puts(), strcmp(), and strcat() string functions to work with character strings.
  • Define and use structures to work with groupings of related data; and use the malloc() and free() functions to allocate program memory.
  • Use the #define and #include preprocessor directives to extend a C program; and use conditional compilation directives, global variables, and storage classes in working with multiple-file programs.
  • Provide input and output (I/O) to a C program from the command-line or from a file with basic file I/O techniques.
  • Describe object-oriented programming techniques.
  • Use the syntax and semantics of the C++ programming language.
  • Create new classes.
  • Write an object-oriented program in C++.
  • Discovering both initialization and assignment.
  • Describe the process of data abstraction.
  • Create new data types using inheritance.
  • Discover about polymorphism.
  • Use C++ class libraries.
  • Implement exception handling.
  • Write template functions and classes.