Create bookmark
Practical C Programming
Notes
Please login to add notes
- Table of Contents
- + Preface
- I
- + What Is C?
- + Basics of Program Writing
- + Style
- + Basic Declarations and Expressions
- + Arrays, Qualifiers, and Reading Numbers
- + Decision and Control Statements
- + Programming Process
- II
- + More Control Statements
- + Variable Scope and Functions
- + C Preprocessor
- + Bit Operations
- + Advanced Types
- + Simple Pointers
- + File Input/Output
-
+
Debugging and Optimization
- + Floating Point
- III
- + Advanced Pointers
-
+
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
- + Ancient Compilers
- + Portability Problems
- + C’s Dustier Corners
-
+
Putting It All Together
- + Programming Adages
- IV
- ASCII Table
- + Ranges and Parameter Passing Conversions
- + Operator Precedence Rules
- + A Program to Compute a Sine Using a Power Series
- Glossary
- Index
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® 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.
Contrary to popular belief, most programmers do not spend most of their time creating code. Most of their time is spent modifying someone else's code. This books shows you how to avoid the all-too-common obfuscated uses of C (and also to recognize these uses when you encounter them in existing programs) and thereby to leave code that the programmer responsible for maintenance does not have to struggle with. Electronic Archaeology, the art of going through someone else's code, is described.
This third edition introduces popular Integrated Development Environments on Windows systems, as well as UNIX programming utilities, and features a large statistics-generating program to pull together the concepts and features in the language.
Test the closed alpha on paperc.com
Book Details
Authors
Categories
Computers > Programming Languages > C
Publishers
Publication year : 2011
License: All rights reserved ©
Times read: 1,539

