pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/DefaultRyan/cpp-docs/blob/master/docs/preprocessor/preprocessor-operators.md

1a6a1af.css" /> cpp-docs/docs/preprocessor/preprocessor-operators.md at master · DefaultRyan/cpp-docs · GitHub
Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.56 KB

File metadata and controls

22 lines (18 loc) · 1.56 KB
title Preprocessor operators
ms.date 08/29/2019
helpviewer_keywords
preprocessor operators
operators [C++], preprocessor
ms.assetid 884126d1-0ce2-48b6-9e06-8a2d7c4a9656

Preprocessor operators

Four preprocessor-specific operators are used in the context of the #define directive. See the following table for a summary of each. The stringizing, charizing, and token-pasting operators are discussed in the next three sections. For information on the defined operator, see The #if, #elif, #else, and #endif directives.

Operator Action
Stringizing operator (#) Causes the corresponding actual argument to be enclosed in double quotation marks
Charizing operator (#@) Causes the corresponding argument to be enclosed in single quotation marks and to be treated as a character (Microsoft-specific)
Token-pasting operator (##) Allows tokens used as actual arguments to be concatenated to form other tokens
defined operator Simplifies the writing of compound expressions in certain macro directives

See also

Preprocessor directives
Predefined macros
c/c++ preprocessor reference

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy