Charizing operator (#@)
Microsoft Specific
The charizing operator can be used only with arguments of macros. If #@
precedes a formal parameter in the definition of the macro, the actual argument is enclosed in single quotation marks and treated as a character when the macro is expanded. For example:
#define makechar(x) #@x
causes the statement
a = makechar(b);
to be expanded to
a = 'b';
The single-quotation character ('
) can't be used with the charizing operator.
END Microsoft Specific
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir