Checking C Programs with lint (Paperback)
暫譯: 使用 lint 檢查 C 程式 (平裝本)

Ian F. Darwin

  • 出版商: O'Reilly
  • 出版日期: 1988-11-08
  • 售價: $650
  • 貴賓價: 9.5$618
  • 語言: 英文
  • 頁數: 90
  • 裝訂: Paperback
  • ISBN: 0937175307
  • ISBN-13: 9780937175309
  • 相關分類: C 程式語言
  • 已絕版

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

商品描述

The lint program checker has proven time and again to be one of the best tools for finding portability problems and certain types of coding errors in C programs. This book introduces you to lint, guides you through running it on your programs, and helps you to interpret
lint's output.

lint verifies a program or program segments against standard libraries, checks the code for common portability errors, and tests the programming against some tried and true guidelines. linting your code is a necessary (though not sufficient) step in writing clean, portable, effective programs.

Contents include:
  • Overview of using lint

  • Dealing with lint' concerns: casting and delinting

  • lint comments


  • Using lint in detail: command line options, using lint with make, rolling your own lint library

  • Public domain programs


  • Under the hood: an inside look


  • Future directions

商品描述(中文翻譯)

lint 程式檢查器一再證明是發現 C 程式中可攜性問題和某些類型程式碼錯誤的最佳工具之一。本書將介紹 lint,指導您如何在程式上運行它,並幫助您解讀 lint 的輸出。

lint 會根據標準庫驗證程式或程式片段,檢查程式碼中的常見可攜性錯誤,並根據一些經過驗證的準則測試程式設計。對您的程式碼進行 linting 是撰寫乾淨、可攜帶且有效程式的必要步驟(雖然不夠充分)。

內容包括:



  • lint 的使用概述

  • 處理 lint 的問題:類型轉換和 delinting


  • lint 註解

  • 詳細使用 lint:命令行選項、與 make 一起使用 lint、建立自己的 lint 函式庫

  • 公共領域程式

  • 內部運作:深入了解

  • 未來方向