One or more white-space characters must separate token-string from identifier. The token-string argument consists of a series of tokens, such as keywords, constants, or complete statements. That is, identifier is not replaced if it appears in a comment, in a string, or as part of a longer identifier. The identifier is replaced only when it forms a token. The #define directive causes the compiler to substitute token-string for each occurrence of identifier in the source file. , identifier opt ) token-string opt Remarks After the macro is defined, the compiler can substitute the token string for each occurrence of the identifier in the source file. The #define creates a macro, which is the association of an identifier or parameterized identifier with a token string.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |