C/C ++ grand all (reproduced, original post address http://www.cnblogs.com/sevencat/archive/2004/06/10/14872.html)I. Standard definition macroThe standard predefined macros are specified by the relevant language standards, so they are available
In order to facilitate your query, I Will repost a copy from msdn here.
From: msdn.microsoft.com/en-us/library/b0084kay (vs.80). aspx
C/C ++ Preprocessor referencePredefined macros
Names the predefined ansi c and Microsoft C ++ implementation macros.
Using Microsoft-specific predefined Preprocessor macros
A sample function that uses ANSI-compliant predefined Preprocessor macros:
bool CPreprocessingDlg::UseMicrosoftSpecificPredefinedMacros(void){ // Using Microsoft-Specific Predefined
C/C ++ compilation system Compilation
Program The process is preprocessing, compilation, and linking.
A Preprocessor is a program that processes program source files according to pre-processing instructions before program source files are compiled.
C pre-processor, processor
The C Preprocessor is not a component of the compiler, but a separate step in the compilation process. The C Preprocessor is just a text replacement tool that instructs the compiler to complete the necessary preprocessing
From (http://www.cnblogs.com/whiteyun/archive/2011/07/07/2099918.html)
ANSI compliant predefined macros:
_ Date __: Indicates the date when the current source file is compiled. Format: Month/day/year (MMM dd yyyy ).
_ File __: Name of the source
The C ++ pre-processors include the following 12.
# If # else # Elif # endif # ifdef # ifndef # UNDEF
# Error # line # pragma # include # define
The first line 7 is the control statement, with the focus on the next 5.
1. # define
Code
From: http://www.cnblogs.com/sevencat/archive/2004/06/10/14872.html
I. Standard definition macroThe standard predefined macros are specified by the relevant language standards, so they are available with all compilers that implement those
[Beginner] an in-depth study of the tag library in JSP-general Linux technology-Linux programming and kernel information. The following is a detailed description. Taglib
Tags are defined and distributed in a structure called the tag library. A tag
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.