Course Name |
Course Content |
Learning Goals |
The teaching environment constructs |
Unix/linux Installation |
The current popular Unix/linux operating system can be installed independently to prepare for the next course. |
A happy beginning. |
The development and prospect of C language |
Learn about the history and future of C language, learn the installation and operation of Visual Studio, and write a simple Hello World program. |
Hello World |
Understanding Visual Studio |
First C language Program |
Data type |
The principle of data storage |
Understand the principles of data storage; |
And operator |
Keywords and identifiers |
Master the definition and practicality of constants and variables; |
ASCII code |
Proficiency in the application of data type conversion; |
Constants and variables |
Master the use of each operator and write a simple program that can handle some calculations. |
Type conversions for variables |
Understand operator precedence, binding direction; |
Operators and expressions |
|
Precedence and binding of operators |
|
Process Control |
Flow chart |
Understand what process control is, what the process controls are, what their characteristics are, how to control the use of all kinds of process controls and the use of their nesting; |
Basic statement |
Sequential Structure Statement |
Select Structure Statement |
Loop Structure Statement |
Jump statement |
Arrays and strings |
Basic concepts of arrays |
Understand the storage principle of arrays, and proficiency in the use of one-and two-dimensional arrays, to grasp the array operation of the traversal, lookup, and sorting, some common algorithms, such as bubble sort, select sorting and rapid sorting, etc., can be used to deal with the real-life needs of the bulk operation of the problem, further improve the programming ability. |
Details of array memory allocation |
A string is a common knowledge point that requires mastering the input and output of a string, the operation function of a string, and the application of a string as a function parameter. |
One-dimensional arrays |
|
Two-dimensional array |
|
Arrays as function arguments |
|
Multidimensional arrays |
|
string and character arrays |
|
Input and output of strings |
|
String manipulation functions |
|
string as a function argument |
|
Function |
Basic concepts of functions |
Understand the function and importance of functions, in-depth understanding of function parameters, function return value, function declaration and application, master how to write functions, how to use functions for multiple file development, through functions to eliminate code duplication and improve the readability of the code. |
Declaration and definition of functions |
Call to function |
The formal participation argument of a function |
The return value of the function |
external functions, intrinsic functions |
Recursive functions |
Pointer |
Basic concepts of pointers |
Understand what the role of pointers and pointers is, what is address delivery, an array of corner access elements of the internal implementation of the principle of how to define and use pointers to understand how dynamic storage space is allocated and released, what is the array of pointers, pointers to arrays, pointer functions, function pointers, understanding the memory partition in C language, What are the characteristics of different partitions; |
Memory partitions for pointers |
The operation of the pointer |
The relationship between pointers and arrays |
The relationship between pointers and functions |
Array of pointers and level two pointers |
Memory requests and operations |
Pointers and Const Qualifiers |
Memory management |
Heap |
Master the memory working principle, understand the operating system memory management model and the relationship between process and memory. |
Stack |
Code Area |
Constant area |
Process memory model |
Structural body and common body and typedef |
Structural body types and structural body variables |
Understand the definition and declaration of global variables, the role of structure, the common body, how to define and use the structure to deal with real-life problems and how to eliminate magic numbers by enumerating, improve code readability. |
Memory analysis of structural body |
Structure Body Array |
Structural body pointer variable |
Structure Body Array pointer |
Nested definition of structural body |
Transfer of structural body type data between functions |
The concept and memory principle of the common body |
Reference and initialization of a common body variable |
To alias a type |
File actions |
File overview |
Master the various open close operations of the file, and read and store the files correctly and make changes to the files. |
Sequential reading and writing of files |
Random Read and write of files |
Techniques for handling text files |
Binary File Handling techniques |
Basic data structure |
Sorting algorithm |
Understand the thinking of data structure, grasp bubble sort, choose the sort of C language implementation skills, discuss the difference between the loop implementation of binary lookup and recursive implementation. Mastering the operation and memory management of a single necklace table |
Lookup algorithm |
Linked list operations |