Book description
There are lots of introductory C books, but this is the first one that has the no-nonsense, practical approach that has made Nutshell Handbooks(R) famous.C programming is more than just getting the syntax right. Style and debugging also play a tremendous part in creating programs that run well and are easy to maintain. This book teaches you not only the mechanics of programming, but also describes how to create programs that are easy to read, debug, and update.Practical rules are stressed. For example, there are fifteen precedence rules in C (&& comes before || comes before ?:). The practical programmer reduces these to two:
- Multiplication and division come before addition and subtraction.
Table of contents
- A Note Regarding Supplemental Files
- Preface
-
I. Basics
- 1. What Is C?
- 2. Basics of Program Writing
- 3. Style
- 4. Basic Declarations and Expressions
- 5. Arrays, Qualifiers, and Reading Numbers
- 6. Decision and Control Statements
- 7. Programming Process
- II. Simple Programming
-
III. Advanced Programming Concepts
- 17. Advanced Pointers
-
18. Modular Programming
- Modules
- Public and Private
- The extern Modifier
- Headers
- The Body of the Module
- A Program to Use Infinite Arrays
- The Makefile for Multiple Files
- Using the Infinite Array
- Dividing a Task into Modules
- Module Division Example: Text Editor
- Compiler
- Spreadsheet
- Module Design Guidelines
- Programming Exercises
- 19. Ancient Compilers
- 20. Portability Problems
- 21. C’s Dustier Corners
- 22. Putting It All Together
- 23. Programming Adages
- IV. Other Language Features
- Glossary
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Practical C Programming, 3rd Edition
- Author(s):
- Release date: August 1997
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565923065
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Hands-On Network Programming with C
A comprehensive guide to programming with network sockets, implementing Internet protocols, designing IoT devices, and much …
book
Fundamentals of Software Architecture
Salary surveys worldwide regularly place software architect in the top 10 best jobs, yet no real …