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.Practical C Programming teaches you how to create programs that are easy to read, debug, and maintain. 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
Electronic Archaeology, the art of going through someone else's code, is also described.Topics covered: - Good programming style - C syntax: what to use and what not to use - The programming environment, including
make - The total programming process - Floating point limitations - Tricks and surprisesIn this second edition, program examples conform to ANSI C. Covers Turbo C (DOS) as well as the UNIX C compiler.