Course Introduction
Chapter I Control Statements
From simple name to compound statement
Single cycle sentence
Usage of if statement
Usage of switch
Multiple loop statement
Usage of for
Usage of while
Do while usage.
Chapter 2 Advanced Data Types
Usage and precautions of struct
Usage and precautions of union
File read/write operation and deletion
Usage of pointer type and precautions
reference type
One dimensional array, usage of two-dimensional array, printing of Yang Hui Triangle.
Chapter 3 Functions
1. Function declaration definition
2. Inline function
3. Recursive call of function
5. Function template function pointer
Course objectives
It is easy to understand and learn through a large number of examples.
Be able to skillfully use loops and structures, so that beginners can understand what functions are and how to write their own functions.
Course plan:
Chapter I C++control statement
one Statements and sequential structures
two Select Structure
three Cyclic structure
four exception handling
five Other control statements
Chapter II Advanced Data Types
one Structure type
two Community Type
three file type
four Pointer type
five reference type
six array
Chapter III function
one Function declaration definition
two Inline function
three Recursive call of function
four Function template function pointer