GCC 6.1 GNU CPP Reference Manual

Richard M. Stallman, Zachary Weinberg

  • 出版商: Samurai Media Limited
  • 出版日期: 2016-08-24
  • 售價: $930
  • 貴賓價: 9.5$884
  • 語言: 英文
  • 頁數: 84
  • 裝訂: Paperback
  • ISBN: 9888406396
  • ISBN-13: 9789888406395
  • 相關分類: C 程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

The C preprocessor, often known as cpp, is a macro processor that is used automatically by the C compiler to transform your program before compilation. It is called a macro processor because it allows you to define macros, which are brief abbreviations for longer constructs.

The C preprocessor is intended to be used only with C, C++, and Objective-C source code. In the past, it has been abused as a general text processor. It will choke on input which does not obey C’s lexical rules. For example, apostrophes will be interpreted as the beginning of character constants, and cause errors. Also, you cannot rely on it preserving characteristics of the input which are not significant to C-family languages. If a Makefile is preprocessed, all the hard tabs will be removed, and the Makefile will not work.