Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


This is a very different book on the C language! In an easy, conversational style, Peter van der Linden, of Sun's compiler and OS kernel group, presents dozens of astonishing examples drawn from practical experience, including:

  • Software that blew up the space probe to Venus

  • The C bug that shut down the entire AT&T phone system

  • C programmer job interview secrets

  • Why programmers can't tell Halloween from Christmas day

  • The C code for a complete BASIC interpreter

Expert C Programming reveals the coding techniques used by the best C programmers. It relates C to other languages, and includes an introduction to C++ that can be understood by an programmer without weeks of mind-bending study. Covering both the IBM PC and UNIX systems, it is an entertaining and educational romp through C showing how experts really use it. Expert C Programming is a must read for anyone who wants to learn more about the implementation, practical use, and folklore of C.

"Not just clearly written, but fun to read. The tone and style of this text should make this a popular book with professional programmers. However, the tone of this book will make it very popular with undergraduates. Appendix A alone would make the purchase of this book a must. It's filled with great advice."

—Professor Jack Beidler, Chairman, Department of Computer Science, University of Scranton

"So that's why extern char *cp isn't the same as extern char cp. I knew that it didn't work despite their superficial equivalence, but I didn't know why. I also love the job interview test questions on C."

—David S. Platt, Rolling Thunder Computing

"In Expert C Programming, Peter van der Linden combines C language expertise and a subtle sense of humor to deliver a C programming book that stands out from the pack. In a genre too often known for windy, lifeless prose, van der Linden's crisp language, tongue-in-cheek attitude, and real-world examples engage and instruct."

—John Barry, author of Sunburst, Technobabble, and other books

Subscriber Reviews

Average Rating: 5 out of 5 rating Based on 9 Ratings

"Marek Dawiec" - by Marek Dawiec on 11-OCT-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The best C book I've ever read !
Report as Inappropriate

"The 40 Year Old Virgin" - by adrian ilarion ciobanu on 08-FEB-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I come from a culture where you simply aren't allowed to have fun while learning. This is how we get educated since the first grade and at 31 (my age) it just seems  natural: studying isn't supposed to be fun, but serious stuff.  I was at the second chapter when the reality hit me: I was laughing. Blasphemy! I am reading this book written by someone who tries to reveal to the reader some dark C programming secrets and I'm having fun! But wait ... this feels good. And I can understand complicated things easier.
I never thought I would ever say this about a technical writer: I can hardly wait to read the next book by Peter van der Linden, even if it will be called "Expert Algol Programming: Deep Algol Secrets".  
5 stars: for truly revealing some secrets and for touching a complex subject with humor.  Keep'em coming!

Report as Inappropriate

Table of Contents