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
Radar Trends to Watch: September 2023
Read about the latest developments on O'Reilly Media's Radar.
book
Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition
“This edition contains Larman’s usual accurate and thoughtful writing. It is a very good book made …
book
Inclusive Design for a Digital World: Designing with Accessibility in Mind
What is inclusive design? It is simple. It means that your product has been created with …
book
Learning Git
This book teaches Git in a simple, visual, and tangible manner so that you can build …