Practical C Programming, 3/e (Paperback)
暫譯: 實用 C 程式設計 (第三版)

Steve Oualline

  • 出版商: O'Reilly
  • 出版日期: 1997-09-09
  • 定價: $1,488
  • 售價: 8.8$1,309
  • 語言: 英文
  • 頁數: 456
  • 裝訂: Paperback
  • ISBN: 1565923065
  • ISBN-13: 9781565923065
  • 相關分類: C 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

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(R) 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.

商品描述(中文翻譯)

有很多入門的 C 語言書籍,但這是第一本採用實用、直截了當的方法,使得 Nutshell Handbooks(R) 聲名遠播。

C 語言程式設計不僅僅是正確的語法。風格和除錯在創建運行良好且易於維護的程式中也扮演著重要角色。本書不僅教你程式設計的機制,還描述了如何創建易於閱讀、除錯和更新的程式。

本書強調實用的規則。例如,C 語言中有十五條優先順序規則(&& 在 || 之前,|| 在 ?: 之前)。實用的程式設計師將這些簡化為兩條:

- 乘法和除法在加法和減法之前。

與普遍認知相反,大多數程式設計師並不花大部分時間編寫程式碼。他們大部分的時間是用來修改別人的程式碼。本書展示了如何避免 C 語言中常見的混淆用法(並且在遇到現有程式中的這些用法時能夠識別出來),從而留下讓負責維護的程式設計師不必掙扎的程式碼。電子考古學,即檢視別人程式碼的藝術,也在書中有所描述。

本書第三版介紹了在 Windows 系統上流行的整合開發環境(Integrated Development Environments),以及 UNIX 程式設計工具,並特別提供了一個大型的統計生成程式,以整合語言中的概念和特性。