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
Understanding Computation
Finally, you can learn computation theory and programming language design in an engaging, practical way. Understanding …
book
JavaScript: The Definitive Guide, 7th Edition
JavaScript is the programming language of the web and is used by more software developers today …
book
How Linux Works, 3rd Edition
Unlike some operating systems, Linux doesn’t try to hide the important bits from you—it gives you …
book
Adobe Photoshop Classroom in a Book (2023 Release)
Learn to create and edit images using Adobe Photoshop Adobe Photoshop Classroom in a Book (2023 …