Book description
The new edition of this classic O’Reilly reference provides clear, detailed explanations of every feature in the C language and runtime library, including multithreading, type-generic macros, and library functions that are new in the 2011 C standard (C11). If you want to understand the effects of an unfamiliar function, and how the standard library requires it to behave, you’ll find it here, along with a typical example.
Ideal for experienced C and C++ programmers, this book also includes popular tools in the GNU software collection. You’ll learn how to build C programs with GNU Make, compile executable programs from C source code, and test and debug your programs with the GNU debugger.
In three sections, this authoritative book covers:
- C language concepts and language elements, with separate chapters on types, statements, pointers, memory management, I/O, and more
- The C standard library, including an overview of standard headers and a detailed function reference
- Basic C programming tools in the GNU software collection, with instructions on how use them with the Eclipse IDE
Publisher resources
Table of contents
- Preface
- I. Language
- 1. Language Basics
- 2. Types
- 3. Literals
- 4. Type Conversions
- 5. Expressions and Operators
- 6. Statements
- 7. Functions
- 8. Arrays
- 9. Pointers
- 10. Structures, Unions, and Bit-Fields
- 11. Declarations
- 12. Dynamic Memory Management
- 13. Input and Output
- 14. Multithreading
- 15. Preprocessing Directives
- II. Standard Library
- 16. The Standard Headers
-
17. 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
- Internationalization
- Nonlocal Jumps
- Multithreading (C11)
- Debugging
- Error Messages
- 18. Standard Library Functions
- III. Basic Tools
- 19. Compiling with GCC
- 20. Using make to Build C Programs
- 21. Debugging C Programs with GDB
- 22. Using an IDE with C
- Index
Product information
- Title: C in a Nutshell, 2nd Edition
- Author(s):
- Release date: December 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491904756
You might also like
book
C in a Nutshell
Learning a language--any language--involves a process wherein you learn to rely less and less on instruction …
book
C for Programmers with an Introduction to C11
The professional programmer’s Deitel® guide to procedural programming in C through 130 working code examples Written …
book
Practical C Programming, 3rd Edition
There are lots of introductory C books, but this is the first one that has the …
book
C Programming Absolute Beginner’s Guide, Third Edition
Updated for C11 Write powerful C programs… without becoming a technical expert! This book is the …