Description of the characters of the preprocessor VC ++

Is there any overview of the available Visual C ++ / Windows SDK pre-characters, such as _CONSOLE, _WINDOWS, WIN32, WIN32_LEAN_AND_MEANetc.?

I'm interested in not just a list, but also (links) describing the effects of defining each of these characters.

+3
source share
2 answers

Some characters are defined by the compiler, and some by various runtime libraries. You need to know what you are looking for in order to find the answers. To my knowledge, there is no “single repository”.

Said:

http://msdn.microsoft.com/en-us/library/b0084kay(VS.80).aspx

This explains the predefined compiler macros.

http://msdn.microsoft.com/en-us/library/aa383745(VS.85).aspx

Windows , .

+2

Source: https://habr.com/ru/post/1709692/


All Articles