-
This book is an exhaustive reference manual on the C language. The latest version 5 adds an introduction to the C99 standard, which is more in line with the needs of current readers learning C.
The book is divided into two parts, with a total of 24 chapters. The first part discusses all the linguistic features of C, including basic linguistic features such as lexical, preprocessing mechanisms, declarations, types, expressions, statements, and functions. The second part discusses the standard libraries of the C language, each of which is detailed according to their different functions.
To help the reader understand the concepts, the book provides many examples and explanations when discussing various aspects of the C language and its standard library. Practice questions are also provided in the chapters of the first part, and answers to the main exercises are given at the end of the book. The main purpose of these exercises is to help the reader understand the basic mechanics of the C language and its important details, which do not involve complex programming techniques and problems.
This book can be used as a textbook and reference book for C language courses in computer science majors in colleges and universities, and also has important reference value for general C programmers.
-
Chapter 1 Input and Output Libraries:
Chapter 2 Mathematical Function Library:
Chapter 3 Character Library:
Chapter 4 String Libraries:
Chapter 5 Standard Library Libraries:
Chapter 6 Graphics Processing Libraries:
Chapter 7 Dynamic Memory Management Libraries:
Chapter 8 Directory Manipulation Library:
Chapter 9 System Interface Libraries:
Chapter 10 Input and Output Libraries:
Chapter 11 Floating-Point Data Processing Library:
Chapter 12 Console Input and Output Libraries:
Chapter 16 Process Management Libraries:
Chapter 17 Function Jump Library:
Chapter 18 Signal Definition Library:
Chapter 19 Function Parameter Handling Function Library:
Chapter 20 Time Libraries:
Chapter 21 Standard Tool Library Libraries:
Appendix Index.
-
This book introduces readers to the knowledge of C language from three different perspectives in simple terms, and helps readers improve their ability to design C programs and take exams in C language. The biggest feature of this book is that the content is comprehensive and practical, with both knowledge introduction and case analysis. Through the study of this book, readers can fully grasp the basic knowledge of C language, and at the same time improve readers' programming ability and test-taking ability.
-
Chapter 1 Preliminary program design of C language preparation code.
Basic concepts of programming.
The general process of program design.
Two approaches to programming.
C language overview.
C programming environment.
Summary of this chapter. Problem.
Chapter 2 Data Types and Simple I/Os.
Basic data type for the C language.
Constants and variables.
Output and input of data.
Summary of this chapter. Problem.
Chapter 3 Operators and Expressions.
The basic operators and their expressions are rolled pants.
Mixed operations are used to convert data types of the modulus.
Summary of this chapter. Problem.
Chapter 4 Procedural Flow Control. Show All].
-
Part 1: The basic mechanics of the C++ language.
Chapter 1 Introduction.
The history and characteristics of the C++ language.
The history of the C++ language.
Features of the C++ language.
Considerations for learning the C++ language.
How to learn C++
How to use this textbook.
Some important programming concepts in the C++ language.
Brief summary. Exercises.
Chapter 2 Overview of the C++ Language.
C++ language and programming paradigm.
The concept of the C++ language.
Programming paradigm.
The first C++ program and the C++ program structure.
The paradigm of process programming is cautious.
Introduction to the Process Programming Paradigm.
Variables and arithmetic operators.
Condition judgment and circulation.
Pointers and arrays.
Modular programming paradigm.
Data abstraction. Object-oriented programming paradigm.
Generic generic programming paradigm.
Brief summary. Exercises.
Chapter 3 Types and Declarations.
Type. Basic data types in C++.
Boolean type. Character type.
Integer type. Floating-point type.
The size of the C++ data type storage.
void type.
Enumeration type. Declarations and definitions of types.
Declared syntax rules.
Identifier in C++.
The scope of the identifier.
typedef
Type conversion. Brief summary. Exercises.
Chapter 4 Operators and Statements.
Overview of the C++ operator.
Arithmetic operators and white increment and self-subtraction operators.
Relational and logical operators.
Bitwise operators. Memory requests are applied with the release operators new and delete
Assignment operators.
Type conversion operators.
An overview of the C++ operators and their order of precedence.
C++ statements.
Chapter 5 Pointers, Arrays, and Structures.
Chapter 6 Functions.
Chapter 7 Namespaces and Exception Handling.
Chapter 8 Source Files and Programs.
Part 2: The Abstraction Mechanism of C++.
Chapter 9 Wide Hall Classes and Objects.
Chapter 10 Operator Overloading.
Chapter 11: Inheritance and Polymorphism.
Chapter 12: Dress up the template.
Chapter 13 Exception Handling.
Part 3 Introduction to the C++ Standard Template Library STL.
Chapter 14 string class.
Chapter 15 C++ Input-Output System Basics.
Chapter 16 Introduction to the Standard Template Library STL.
References. <>
I majored in computer science, and I was embarrassed when I first learned C language, but I also had some experience. >>>More
You can use function pointers, such as:
voidfunction(int >>>More
Chapter 1: Introduction to C++ Programming.
Lecture 1: C++ Basics. >>>More
int i,j,n;
for(i=0,j=0;i<10;,j++,i++)if(a[i]%2==0) >>>More
1 Overview of Programming.
An overview of programming languages. >>>More