C & C++

Reading Time: 2 minutes

Module 1: Introduction

        • 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

Module 2: Data Types and Variables

        • Data Types
        • Operands, Operators, and Arithmetic Expressions

Module 3: Input/Output Management

        • The Input/Output Concept
        • Formatted Input Function
        • Control-Flow Statements

Module 4: The Control-Flow Program Statements

        • Looping Statements
        • The Data-checking process

Module 5: 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
        • C Standard Library Functions

Module 6: Arrays, Pointers, and Strings

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

Module 7: Structures

        • Structures
        • Arrays of Structures
        • Passing Structures to Functions
        • Nesting Structures

Module 8: File Input/Output

        • Command-line Arguments
        • Combining Command-line

C++

Module 1: Introduction to C++

        • Creating a project
        • Writing, compiling and running a program

Module 2: Variables and data types

        • Expressions
        • Constants
        • Operators
        • Type conversions

Module 3: Looping constructs: while, do…while, for loops

        • If…else statements
        • Switch/case construct

Module 4: Functions

        • Passing arguments
        • Function prototyping
        • Default argument initializers
        • Inline functions

Module 5: Arrays

        • Array initialisation
        • Multi-dimensional arrays
        • Character arrays
        • Working with character strings

Module 6: Storage Classes

        • Global variables

Module 7: Pointers

        • Pointer and arrays
        • Pointers to character strings
        • Arrays of pointers
        • Memory slicing
        • Pointers to functions

Module 8: C++ classes

        • Data members and member functions
        • Creating objects
        • The new and delete operators
        • Friends to a class
        • Class initialisation

Module 9: Reference types

        • Reference type arguments

Module 10: Function overloading

        • Operator overloading

Module 11: Copy constructor

        • Assignment operator

Module 12: Template classes

        • Static class members
        • File streams

Module 13: Inheritance

        • Base classes and derived classes
        • Inherited member access
        • Base class initialisation
        • Protected members of a class

Module 14: Virtual functions

        • Virtual destructors

Module 15: Virtual base classes

        • Virtual base class member access
        • Constructor and destructor ordering

Module 16: Exception handling

      • try…throw…catch block
      • Nested catch handlers