на главную поиск contacts

C in a Nutshell

Опубликовано на портале: 15-11-2006
Изд-во: O'Reilly Media, 2005, cерия "In a Nutshell", 618 с.
Covering the C programming language and C runtime library, this book is destined to be a constant companion in your work. C in a Nutshell covers virtually everything you need to program in C. Topics include runtime library calls, common compiler options, and questions of C syntax and usage. Not to be missed by C programmers of all levels.


I. Language

1. Language Basics
     Characteristics of C
     The Structure of C Programs
     Source Files
     Character Sets
     How the C Compiler Works

2. Types
     Integer Types
     Floating-Point Types
     Complex Floating-Point Types (C99)
     Enumerated Types
     The Type void

3. Literals
     Integer Constants
     Floating-Point Constants
     Character Constants
     String Literals

4. Type Conversions
     Conversion of Arithmetic Types
     Conversion of Nonarithmetic Types

5. Expressions and Operators
     How Expressions Are Evaluated
     Operators in Detail
     Constant Expressions

6. Statements
     Expression Statements
     Block Statements
     Selection Statements
     Unconditional Jumps

7. Functions
     Function Definitions
     Function Declarations
     How Functions Are Executed
     Pointers as Arguments and Return Values
     Inline Functions
     Recursive Functions
     Variable Numbers of Arguments

8. Arrays
     Defining Arrays
     Accessing Array Elements
     Initializing Arrays
     Multidimensional Arrays
     Arrays as Arguments of Functions

9. Pointers
     Declaring Pointers
     Operations with Pointers
     Pointers and Type Qualifiers
     Pointers to Arrays and Arrays of Pointers
     Pointers to Functions

10. Structures, Unions, and Bit-Fields

11. Declarations
     General Syntax
     Type Names
     typedef Declarations
     Linkage of Identifiers
     Storage Duration of Objects

12. Dynamic Memory Management
     Allocating Memory Dynamically
     Characteristics of Allocated Memory
     Resizing and Releasing Memory
     An All-Purpose Binary Tree

13. Input and Output
     Opening and Closing Files
     Reading and Writing
     Random File Access

14. Preprocessing Directives
     Inserting the Contents of Header Files
     Defining and Using Macros
     Conditional Compiling
     Defining Line Numbers
     Generating Error Messages
     The #pragma Directive
     The _Pragma Operator
     Predefined Macros

II. Standard Library

15. The Standard Headers
     Using the Standard Headers
     Contents of the Standard Headers

16. Functions at a Glance
     Input and Output
     Mathematical Functions
     Character Classification and Conversion
     String Processing
     Multibyte Characters
     Converting Between Numbers and Strings
     Searching and Sorting
     Memory Block Handling
     Dynamic Memory Management
     Date and Time
     Process Control
     Nonlocal Jumps
     Error Messages

17. Standard Library Functions

III. Basic Tools

18. Compiling with GCC
     The GNU Compiler Collection
     Obtaining and Installing GCC
     Compiling C Programs with GCC
     C Dialects
     Compiler Warnings
     Option and Environment Variable Summary

19. Using make to Build C Programs
     Targets, Prerequisites, and Commands
     The Makefile
     Phony Targets
     Other Target Attributes
     Running make

20. Debugging C Programs with GDB
     Installing GDB
     A Sample Debugging Session
     Starting GDB
     Using GDB Commands


Ключевые слова

См. также:
Tim Patrick, John Clark Craig
Jesse Liberty
Jesse Liberty
Jesse Liberty
Ray Lischner
Jeff Cogswell, Jonathan Turkanis, Christopher Diggins, Ryan Stephens
Chris Shiflett