Before Yan
In recent years, C language is the most widely used high-level programming language. It is not only a required course for computer students, but also a favorite technical discipline for many non-computer students. C language programming is an important part of the national and provincial Computer Level examination. The C language has rich functions, strong expression ability, flexible and convenient use, and high program efficiency. It is a structured programming language. C language is very practical. It can be used to compile application software and system software.
Features of this book
C language is the basis for learning other languages. As long as you master C language, you will soon get started with other languages. This book aims to enable readers to become programming masters from beginners of C language, and specializes in the study and analysis of C language knowledge. The main features of this book are as follows:
The structure is clear and clear. This book consists of 18 chapters, each of which is divided into several sections and each section contains a small knowledge point. The structural hierarchy is clearly visible.
The content is comprehensive and detailed. This book covers all the knowledge in C language, describes each knowledge point in C language as a separate chapter, and provides a large number of examples.
From simple to deep. Introduce the basic theoretical knowledge, data structure, and basic programming rules of C language to readers, so that they can have a preliminary understanding of the basic knowledge and structured programming ideas of C language; then, I will explain in detail some complex data structure types in C language, such as arrays, functions, pointer operations, struct and shared objects, and files.
Various instances. Every knowledge point in this book is explained with examples to facilitate your understanding.
Main content of this book
Chapter 1 mainly introduces the evolution of computer language and a brief history of C language development. It introduces programming algorithms and the conversion and storage of Number System and number system to lay the foundation for future study.
Chapter 2 uses a C language programming example to explain the structural characteristics and Writing Style of C language. Most of the previous C language reference books use the Turbo C development environment. This book uses the Visual C ++ 6.0 integrated development environment to introduce in detail the program development process in the Visual C ++ 6.0 environment.
Chapter 3rd describes constants, variables, and identifiers, Chapter 4th describes the data structure, Chapter 5th describes operators and their expressions, and Chapter 6th describes input and output, the four chapters are the basic knowledge of C language, which is the prerequisite for learning the following chapters. This book provides a detailed description of these chapters.
Chapter 7th describes the sequence structure and selection structure, and Chapter 8th describes the cycle structure. These two chapters introduce three types of C language programming, which constitute the framework of C language programming. These two chapters also use a large number of examples to explain how to use if-Else, switch-case, while and other statements to solve the problem.
Chapter 1 describes several jump statements, such as break and continue, based on Chapter 9th and Chapter 7th, to make the program design statements more flexible and help solve more complex problems.
Chapter 2 describes arrays used to process a batch of data of the same data type. It explains the definition, initialization, and reference of one-dimensional arrays and two-dimensional arrays, and provides a large number of examples to help readers understand them.
Chapter 2 explains the string array and Chapter 2 describes the arrays used to process multiple characters. This chapter describes the definition, initialization, reference, relationship between character arrays and strings, and input and output of character arrays. Finally, it describes the string processing functions and provides examples.
Chapter 12th and Chapter 13 mainly introduce functions. These two chapters explain the definition of functions, parameter value transfer problems, function calls, scope of variables, and pre-compilation operations when calling system functions.
The pointer operation described in Chapter 14th is the core and difficulty of the C language. This chapter introduces pointer and address, pointer and pointer variable, pointer and array, pointer and function, and provides a large number of examples to help readers understand.
Chapter 15th describes the structure, chapter 16th describes the shared body, and describes several complex data structures, their definitions and references, and their differences with other data structures.
Chapter 2 explains files. Files are also a data type and a collection of data stored on external storage devices. This chapter describes how to operate external data.
Chapter 2 uses the C language to design a student achievement management system. The entire system uses the C language knowledge learned in the previous chapters, such as structured programming, arrays, functions, and struct, on the basis of reviewing and consolidating the basic knowledge of C language, we will further deepen our understanding and understanding of C language programming.
Suitable for readers who read this book
Early and intermediate readers of C language.
Understand C language, but not all people who have learned it.
C language courses for science schools in colleges and universities.
Students who use C language for graduation design.
Developers who are familiar with other languages and use this as a reference.
Author of this book
This book is mainly written by Dai Xiaohui and Zhu minghui. Others involved in the compilation of this book include Hao burn, Zeng Guang, dual, Zhu Zhaohua, Huang yongyu, Meng Xiangyu, Zhang hejun, LI Yong, Guan Tao, Wang Yan, Li Xiaobai, Wei Xing, and Liu Lei. Thank you!