Book description
The latest release of the C programming language, C23, enhances the safety, security, and usability of the language. This second edition of Effective C has been thoroughly updated to cover C23, offering a modern introduction to C that will teach you best practices for writing professional, effective, and secure programs that solve real-world problems.
Effective C is a true product of the C community. Robert C. Seacord, a long-standing member of the C standards committee with over 40 years of programming experience, developed the book in collaboration with other C experts, such as Clangâ??s lead maintainer Aaron Ballman and C project editor JeanHeyd Meneide. Thanks to the efforts of this expert group, youâ??ll learn how to:
- Develop professional C code that is fast, robust, and secure
- Use objects, functions, and types effectively
- Safely and correctly use integers and floating-point types
- Manage dynamic memory allocation
- Use strings and character types efficiently
- Perform I/O operations using C standard streams and POSIX file descriptors
- Make effective use of Câ??s preprocessor
- Debug, test, and analyze C programs
The world runs on code written in C. Effective C will show you how to get the most out of the language and build robust programs that stand the test of time.
New to this edition: This edition has been extensively rewritten to align with modern C23 programming practices and leverage the latest C23 features.
Updated to cover C23
Publisher resources
Table of contents
- Praise for Effective C
- Title Page
- Copyright
- Dedication
- About the Author, Contributor and Technical Reviewer
- Foreword to the Second Edition
- Foreword to the First Edition
- Acknowledgments
- Introduction
- 1. Getting Started With C
- 2. Objects, Functions, and Types
- 3. Arithmetic Types
-
4. Expressions and Operators
- Simple Assignment
- Evaluations
- Function Invocation
- Increment and Decrement Operators
- Operator Precedence and Associativity
- Order of Evaluation
- sizeof Operator
- Arithmetic Operators
- Bitwise Operators
- Logical Operators
- Cast Operators
- Conditional Operator
- alignof Operator
- Relational Operators
- Compound Assignment Operators
- Comma Operator
- Pointer Arithmetic
- Summary
- 5. Control Flow
- 6. Dynamically Allocated Memory
- 7. Characters and Strings
- 8. Input/Output
- 9. Preprocessor
- 10. Program Structure
- 11. Debugging, Testing, and Analysis
- Appendix: The Fifth Edition of the C Standard (C23)
- References
- Index
Product information
- Title: Effective C, 2nd Edition
- Author(s):
- Release date: October 2024
- Publisher(s): No Starch Press
- ISBN: 9781718504127
You might also like
book
Effective C
The world runs on code written in the C programming language, yet most schools begin the …
book
C Programming Language, 2nd Edition
This book is meant to help the reader learn how to program in C. It is …
book
Writing a C Compiler
Compilers are at the heart of everything programmers do, yet even experienced developers find them intimidating. …
book
Extreme C
Push the limits of what C - and you - can do, with this high-intensity guide …