A.12.10 Predefined names

Several identifiers are predefined, and expand to produce special information. They, and also the preprocessor expansion operator defined, may not be undefined or redefined.

LINE A decimal constant containing the current source line number. FILE A string literal containing the name of the file being compiled. DATE A string literal containing the date of compilation, in the form "Mmmm dd yyyy" TIME A string literal containing the time of compilation, in the form "hh:mm:ss" STDC The constant 1. It is intended that this identifier be defined to be 1 only in standard-conforming implementations.

TCPL/A.12.10_Predefined_names (2008-02-23 15:36:54由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.