Some programs are debugging, compatibility, in situations like platform porting, you might want to generate a different software by simply setting some parameters, which, of course, can be done with variable settings, write all the possible code,
Reprint: http://blog.chinaunix.net/uid-26854432-id-3181585.html #if语句
#if语句会计算它后面的表达式, and checks the result of the expression, if the result is true (true), the subsequent statement is compiled, and if False (false), the subsequent statement is
Microsoft-specific predefined Macros__cplusplus Defined for C + + programs only.This means that if you are a C + + program, useextern "C" {And this thing, refers to the following function does not use the C + + name decoration, but with C'sThe
For example: to write a header file test.h
#ifndef _test_h
#define _TEST_H//is typically an uppercase file name
············
#endif
1. For example, you have two C files, and all two C files include the same head file. At compile time, the two C
Alternative syntax in PHP (colon, endif, Endwhile, ENDfor)reprinted October 07, 2012 09:48:10
Label:
PHP/
WordPress/
Html
16096
We often see a lot of strange php syntax in the wordpress template of a blog
There is only one sentence in a page that can be judgedWe often see the form in the HTML of the page like [if LTE IE 9] ... The code for [ENDIF] represents a statement that restricts certain browser versions to execute, so what are the rules for
We often see the form in the HTML of the page like [if LTE IE 9] ... The code for [ENDIF] represents a statement that restricts certain browser versions to execute, so what are the rules for these judgment statements? Please see below: In addition
In PHP, what are colon, endif, endwhile, and endfor? endwhileendfor. What are colon, endif, endwhile, and endfor in PHP? we often see many strange PHP syntaxes in the templates of wordpress blog programs, such :? In php, what are colon, endif,
What are the colons, endif, Endwhile, endfor in PHP, endwhileendfor
We often see a lot of strange php syntax in the wordpress template of a blog program, such as:
The empty
For a lot of PHP enthusiasts have never seen Ah, what are these things?
Alternative syntax in PHP (colon, endif, endwhile, endfor), endwhileendforWe often see many strange PHP syntaxes In the templates of blog programs such as wordpress, such as: Empty For a considerable number of PHP enthusiasts, what are these
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.