There are 12 modules in this textbook, including: C programming overview; types, operators and expressions; input and output; decision making; loops; arrays; functions; preprocessors; pointers; structures, unions and enums; bitwise operators; files.
This textbook was developed in response to the growing scale of Sino-Foreign education cooperation and the growing demand for English and bilingual textbooks. It focuses on students participating in English or bilingual classes in higher vocational education, and emphasizes the combination of theory and practice.
This textbook provides a variety of resources, such as the Chinese annotation of the corresponding chapters, answers to the exercises, source codes, teaching coursewares, teaching plans and other conventional teaching resources. Students can scan the QR code to gain these resources.
【作者简介】
【目录】
module 1 c programming overview
1.1 history of the c language
1.2 features of the c language
1.3 c program development process
1.4 en ‘varonment setup
1.5 simple c example
1.6 summary
1.7 exercises
module 2 types, operators and expressions
2.1 keywords and identifiers
2.1.1 keywords
2.1.2 identifiers
2.2 data types of the c language
2.3 constants and variables
2.3.1 constants and symbolic constants
2.3.2 variables
2.3.3 data type conversion
2.4 operators and expressions
2.4.1 arithmetic operators and arithmetic expressions
2.4.2 assignment operators and assignment expressions
2.4.3 ma operator and ma expression
2.5 summary
2.6 exercises
module 3 input and output
3.1 program flow chart
3.2 formatting input and output
3.2.1 formatted output function
3.2.2 formatted input function
3.3 character input and output
3.3.1 putchar( ) function
3.3.2 getchar( ) function
3.4 summary
3.5 exercises
module 4 decision making
4.1 logical operators and logical expressions
4.1.1 logical operators
4.1.2 logical expressions
4.2 relational operators and relational expressions
4.2.1 relational operators
4.2.2 relational expressions
4.3 conditional operators and conditional expressions
4.4 branch structure
4.4.1 single branch structure
4.4.2 double branch structure
4.4.3 multi-branch structure
4.5 summary
4.6 exercises
module 5 loo
5.1 for loop
5.2 while lamp
5.3 do-while loop
5.4 nested loop
5.5 loop control statements
5.5.1 break statement
5.5.2 continue statement
5.6 summary
5.7 exercises
module 6 arrays
6.1 array overview
6.2 single-dimensional arrays
6.2.1 declaring single-dimensionalarrays
6.2.2 initializing single-dimensional arrays
6.2.3 accessing single-dimensional array elements
6.3 two-dimensional arrays
6.3.1 declaring two-dimensional arrays
6.3.2 initializing two-dimensional arrays
6.3.3 accessing two-dimensional array elements
6.4 character arrays and the application of strings
6.4.1 declaring character arrays
6.4.2 initializing character arrays
6.4.3 accessing character array elements
6.4.4 input and output of a character array
6.4.5 frequently used string processing functions
6.5 sorting arrays
6.5.1 bubble sorting
6.5.2 selection sorting
6.6 summary
6.7 exercises
module 7 functions
7.1 definition of function
7.1.1 definition of nonparametric function
7.1.2 definition of parametric function
7.2 calling a function
7.2.1 the syntaxofcallingafunction
7.2.2 formal andactual parameters
7.2.3 retumvalue of afunction
7.2.4 function declaration
7.3 nested calling of afunction
7.4 recursive call
7.5 array as a function parameter
7.6 scope and storage type of the variable
7.6.1 scope of the variable
7.6.2 storage type of the variable
7.7 internal and external functions
7.7.1 internal function
7.7.2 external function
7.8 summary
7.9 exercises
module 8 preprocessors
8.1 macro definition
8.1.1 macro definition with no parameters
8.1.2 macro definition with parameters
8.2 include directive
8.3 conditional pilation
8.3.1 #ifdef form
8.3.2 #ilhdef form
8.3.3 #if form
8.4 summary
8.5 exercises
modulo 9 pointers
9.1 concept of pointers
9.2 definition and ref~nce of pointer variables
9.2.1 definition of pointer variables
9.2.2 referenc of pointer variables
9.2.3 pointer variables as function arguments
9.3 pointer of arrays and pointer variables to arrays
9.3.1 pointers to array elements
9.3.2 references to array elements through pointers
以下为对购买帮助不大的评价