Expert C Programming: Deep C Secrets (Paperback)

Peter van der Linden




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



這是一本關於 C 語言的非常不同的書!Peter van der Linden,太陽公司的編譯器和作業系統核心小組成員,以輕鬆對話的風格,提供了數十個令人驚嘆的實例,這些實例來自於實際經驗,包括:

  • 導致金星太空探測器爆炸的軟體

  • 導致整個 AT&T 電話系統關閉的 C 語言錯誤

  • C 語言程式設計師面試的秘訣

  • 為什麼程式設計師分不清萬聖節和聖誕節

  • 一個完整 BASIC 直譯器的 C 語言程式碼

Expert C Programming 揭示了最優秀的 C 語言程式設計師使用的編碼技巧。它將 C 語言與其他語言相關聯,並包含一個可以讓程式設計師在經過幾週的深入學習之後理解的 C++ 簡介。該書涵蓋了 IBM PC 和 UNIX 系統,是一本有趣且富有教育性的 C 語言之旅,展示了專家們如何真正使用它。對於任何想要更多了解 C 語言的實現、實際應用和傳說的人來說,Expert C Programming 是一本必讀的書。

"這本書不僅寫得清晰,而且閱讀起來很有趣。這本書的語氣和風格應該會受到專業程式設計師的歡迎。然而,這本書的語氣將使它在大學生中非常受歡迎。附錄 A 本身就足以使這本書成為必讀之選。它充滿了很好的建議。"

—Jack Beidler 教授,斯克蘭頓大學計算機科學系主任

"所以這就是為什麼 extern char *cpextern char cp 不一樣的原因。我知道它們表面上是等價的,但我不知道為什麼它們不起作用。我也喜歡關於 C 語言的面試測試問題。"

—David S. Platt,Rolling Thunder Computing

"Expert C Programming 中,Peter van der Linden 結合了 C 語言專業知識和微妙的幽默感,提供了一本與眾不同的 C 語言程式設計書。在這個往往以冗長、無生氣的散文聞名的類型中,van der Linden 簡潔的語言、嘲諷的態度和真實世界的例子引人入勝並提供教學。"

—John Barry,SunburstTechnobabble 等書的作者