Common to macros in C + +

Source: Internet
Author: User

_dos_ represents the MS-DOS system platform

WIN32 represents the Windows32 -bit system platform

WIN64 represents the Windows64 -bit system platform

_win32_wce represents the window Mobile system platform

_unix represents the Unix system platform

_posix_ represents the POSIX(Portable Operating system Interface of Unix) systems platform

_linux_ represents a Linux system platform

Linux represents a Linux system platform

_apple_ indicates an Apple system platform

_mac_ Apple says Apple system platform

ANDROID Presentation Table System platform

__arm__ represents the arm system platform

i386 represents the 386 system platform

_atl_ver represents the ATL version number

_msc_ver represents the C + + compiler version number

_mfc_ver represents the MFC version number

__clr_ver represents the CLR version number

_console represents a console program

_windows represents a window program

_DEBUG represents the Debug version

Ndebug represents release version

_mbcs indicates the use of multibyte character sets

_unicode represents the use of the Unicode character set

_windll indicates that you want to make a DLL that uses MFC

_usrdll represents a user DLL(as opposed to an MFC extension DLL)

_afxdll represents the use of the MFC dynamic-link library

_afxext represents an MFC extension DLL to be made

__date__ represents the Compile date

__time__ represents compile time

__file__ represents the path string containing the current program file name

__line__ represents the current program code line number

__stdc__ indicates compilation standard C

__cplusplus represents the compilation of standard C + +

_crt_secure_no_warnings Indicates a warning when using unsafe CRT functions is suppressed

_crt_secure_no_deprecate

Common to macros in C + +

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.