Expert C Programming: Deep C Secrets is written for experienced C programmers who want to quickly acquire some of the insights and techniques of experts and master the fine arts of ANSI C. This volume passes on the wisdom of a highly experienced C compiler writer and his colleagues to help programmers reach new heights, and avoid common software pitfalls along the way. Using an original approach and a humorous style that makes deep knowledge both easy and accessible, it gathers all these into one place: tips; hints; shortcuts; guidelines; ideas; idioms; heuristics; tools; anecdotes; C folklore; and techniques that are often penciled in margins and on backs of papers by those working in the programming trenches. 384 pages, softcover Features - Completely up-to-date with ANSI C
- Acknowledges the human side of computer programming too often overlooked by other writers
- Applies ANSI standard C as found on PCs and UNIX systems
- Covers unique aspects of C relating to sophisticated hardware typically found on UNIX platforms (virtual memory, etc.)
- Uses the terminology of ANSI throughout, along with translations into ordinary English where needed
- Contains boxed programming challenges and handy heuristics (ideas, rules-of thumb, or guidelines that work in practice)
- Includes one of the best introductions to C++, and the rationale behind it
- Covers many topics that many C programmers find confusing: What does
typedef struct bar {int bar} bar; actually mean? How can I pass differently-sized multi-dimensional arrays to one function? What's the difference between char *foo and char (*foo)? What's a bus error? What's a segmentation violation? - Contains many interesting C stories and folklore, such as the January 1990 slowdown of the entire AT&T phone network (caused by a C bug)
Contents - Introduction
- 1. The ANSI C Standard
- 2. It's Not a Bug; It's a Language Feature!
- 3. Unscrambling Declarations in C
- 4. Thinking of Linking
- 5. Poetry in Motion? Runtime Data Structures
- 6. Why Programmers Can't Tell Halloween from Christmas Day
- 7. The Shocking Truth: Arrays and Pointers Are Not Equivalent!
- 8. More about Arrays
- 9. More about Pointers
- 10. You Know C? C++ Is Easy!
- Appendix: C Interview Secrets
About the Author Peter van der Linden is one of the world's foremost computer book authors. His books include Expert C Programming: Deep C Secrets, Just Java, and Peter van der Linden's Guide to Linux. He has been in the computer industry for more than twenty-five years, and worked as a software developer for companies ranging from start-ups to Apple and Sun Microsystems. He has designed and programmed systems in Europe and on both coasts of the United States, and is currently working in Silicon Valley, California as a software consultant who specializes in Linux and open source software. Peter van der Linden is a graduate of Yale University.
|