条件编译的概念;通常我们希望程序的其中一部分代码只有在满足一定的情况下才进行编译,否则不参与编译,(只有参与编译的代码最终才能被执行)

这就是条件编译;

基本用法;

#if condication01

...code01..

#elif condication02

...code02...

#else

...code03...

#endif

 #include<stdio.h>
#define MAX == 11
int main(int argc,const char *argv[],const char **env[]) {
#if MAX == 0
printf("MAX等于0");
#elif MAX > 0
printf("MAX大于0");
#else
printf("MAX小于0");
#endif
return ;
}

#if defined()和#if !defined()

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfgAAACXCAIAAAB2n94TAAAXjklEQVR4nO2d34sdR3bHz8yApPgPCJJfHMhfoCWdBIRJwLYWbAw2csGs/EsKFisU45Aif8CAX+tP2Md6y59Q+6C8LAtZGKGHRGsUVras9UoyglUswyiWbh6qu/rUr77V99a9d27P98NhuLe6+nR1951vnz7dfZro7L/Tz/6DXv/d7lu36NJXdOkruvwHuvwtffLdztVH9E8P7V9K8tFDuvxda/t/bO2D+zAYDLZ9dunryZoTevr5f3OVp08e7lx9ZI2IZj43b948ODjwtN4JvXgAg63KNq4FsAnbxuV4tUJ//jf0D7fp7Tv03j364D5d/o4+ekifPHRab4WeyNoB0UEv9EFEv3EhOE5mD4obHwYMBjvpNlLoD2YzgtCXGD8Boozojz0S4MgBg8EWMXr11/R3/0kXbtPbd+nS1yQeWKHf/dgT+oODA6fyRLPNCn2gobW8VV/uK2e/fOXsl24W+zXwFjTOXXrSyUq3Dwx2Uuz96Rq9+mv629v0j3fp7bv0wX0SD+gXf7IR/c7VR3tXH+9dfUxEsxnNZnRwcHBwcHDz5k0n9LsfP6Rf/Km12lo/oGJcQ2staFhwl1munSvwX7LQ4f78ELLS7QODwbbbPKF//wEJK/Tf85trrMo7swG+hYj2Pv6ePnq4Cq0fULGZT/UFDfcZq9ED3pYJ53Mjcd2WHycMBpuC9UL/3je0/8c2nCeazWYHBwcDEu8L/fe0/9hq/SyCxCNrycZke85J3J5j2H/S2ytnvxzoz/vk+nPnwxZ4SI5nb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9OEZgxuRDNsnWIgQAABS1H6VYAmCtCy9IRIAAMCSbELoAQAArBEIPQAATBwIPQAATBwIPQAATBwIPQAATBwIPQAATJxzh2fO/x5CDwAA02Vpoe9rSBpW9GYSNESmMwAA2FpqCH1fdVKuROj5ItaJ03dBhLeUAAC2lqqpmxJFbgvMy7bsZV+LgBeMdwVzmr4AMi9oYOe1n23RA3eASfu3fnTvbe44BXlP7volfIQyxhhdVpMZAAA2S0WhL39llGBqLlq95uUr44qYsS430qtq5p1JpPy3Re6bdt65Zx4QegDAVKgn9E1UpSyLiHQ2ev8TD7oXEPqEjvPjULJDOKIBoQcAgC2intCPyKQnhT5/NrApoecjgtADALaWWkI/6lXfKZ3lRe3jSW2SRPSRfp9+aUib+kJPTOjDi7Fd5ma+CwAA2DyVhL48b6OS1eJTk/opItXIrtNK9jrDtH/XWfXe5gq1zNxeKZQxpjRNBQAAmwYPTI1GKFyGBQBsExB6AACYOBB6AACYOOcOT/8MQg8AABMGQg8AABMHQg8AABMHQg8AABMHQg8AABOnhtDb+pHt40hF/fHAEQAArI2lhb6Rvb4LVfp8rFBQegAAWA81hN5JdvmLRyD0AACwLmqkbvryMsU1HiH0AACwLpYXeuFF9MVFYITCmzsAAGAdLC30QjFxLyv/S4joAQBgfVTN0UPoAQDg+FE3R1/w0m0LhB4AANbFucMz5++s+YEp3EcPAABrZBNCDwAAYI1A6AEAYOJA6AEAYNL8P4LRp+sGO+lnAAAAAElFTkSuQmCC" alt="" />

#if defined(MAX) #if !defined()与

#ifdef(MAX) 和ifndef(MAX)一个意思;

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfoAAACaCAIAAADO9B3wAAAXE0lEQVR4nO2d3aodR3bH1zkHJMcPECzfOJAn8JBOAsYk4I8BG4ONXXBG/pKCxRjFOKTIAxzwbT3CXNZdHqHmQrkZBjJwhC4SjVEY2bLGI8kIRrENR7G0c1G7q1d9dvXevT/7/2Nx2Lu6uqq6e59/rV7dvZrouX+nn/0Hvfy7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HgAAwNqB3AMAwCSA3AMAwCSA3AMAwCSA3AMAwCSA3AMAwAT4f0DQA2f12GpAAAAAAElFTkSuQmCC" alt="" />

【C语言】09条件编译的更多相关文章

  1. c语言中条件编译相关的预编译指令

    一. 内容概述 本文主要介绍c语言中条件编译相关的预编译指令,包括#define.#undef.#ifdef.#ifndef.#if.#elif.#else.#endif.defined. 二.条件编 ...

  2. C语言:条件编译

    假如现在要开发一个C语言程序,让它输出红色的文字,并且要求跨平台,在 Windows 和 Linux 下都能运行,怎么办呢?这个程序的难点在于,不同平台下控制文字颜色的代码不一样,我们必须要能够识别出 ...

  3. 关于C语言程序条件编译的简单使用方法

    #include <stdio.h> #include <stdlib.h> #define Mode //如果定义了Mode,那么就执行这个函数 #ifdef Mode vo ...

  4. 把《C语言接口与实现》读薄之第一章:引言

    1.1文学程序 文学程序(literate program):接口及其实现的代码与对其进行解释的正文交织在一起.文学程序由英文正文和带标签的程序代码块组成.例如, 〈compute x * y〉≡ s ...

  5. golang项目中使用条件编译

    golang项目中使用条件编译 C语言中的条件编译 golang中没有类似C语言中条件编译的写法,比如在C代码中可以使用如下语法做一些条件编译,结合宏定义来使用可以实现诸如按需编译release和de ...

  6. 条件编译#ifdef的妙用详解

    c语言中条件编译相关的预编译指令,包括  #define.#undef.#ifdef.#ifndef.#if.#elif.#else.#endif.defined. #define           ...

  7. JVM-程序编译与代码早期(编译期)优化

    早期(编译期)优化 一.Javac编译器 1.Javac的源代码与调试 Javac的源代码放在JDK_SRC_HOME/langtools/src/shares/classes/com/sun/too ...

  8. Windows7WithSP1/TeamFoundationServer2012update4/SQLServer2012

    [Info   @09:03:33.737] ====================================================================[Info   @ ...

  9. 深入理解Java虚拟机--下

    深入理解Java虚拟机--下 参考:https://www.zybuluo.com/jewes/note/57352 第10章 早期(编译期)优化 10.1 概述 Java语言的"编译期&q ...

随机推荐

  1. UVA 10815:Andy's First Dictionary(STL)

    题意:给出一段英文,里面包含一些单词,空格和标点,单词不区分大小写,默认都为小写.按照字典序输出这些单词(这些单词不能有重复,字母全部变成小写) stringstream:包含在头文件#include ...

  2. Windows环境下搭建Nginx和多版本PHP共存

    PHP版本众多,彼此之间兼容性不好,不同程序经常需要的不同版本的PHP版本.这里介绍如何使用NGINX让不同版本的PHP共存. 软件下载地址 与nginx整合的php需要选择Non Thread Sa ...

  3. test20180919 选择客栈

    题意 分析 不难发现把增加人数看成减少人数,上限是w 看成总数是w,问题就变成了询问有多少个子区间没有0. 考虑这个问题困难在哪里,就是区间加减法让我们不好判断0 的位置. 因为题目保证每个位置的值非 ...

  4. List和json数组的转换(赋源代码)

    public class a11111111 { //参数obj可以是 json对象,字符串, list public static void fun(Object obj){ JSONArray d ...

  5. grandstack 基于graphql&&react&& apollo&& neo4j 的全栈开发工具

    grandstack是一个基于graphql&&react&& apollo&& neo4j 的全栈开发工具. 有篇关于graphql 的5个常见问题的 ...

  6. OracleDesigner学习笔记1――安装篇

    OracleDesigner学习笔记1――安装篇   QQ:King MSN:qiutianwh@msn.com Email:qqking@gmail.com 一.       前言 Oracle是当 ...

  7. 海思3518EV200 SDK中获取和保存H.264码流详解

    /****************************************** step 2: Start to get streams of each channel. ********** ...

  8. graphEdit

    目的 实现支持算法流程图 参考代码 c# DSGraphEdit - CodeProject NetworkView: A WPF custom control for visualizing and ...

  9. django模板里关闭特殊字符转换,在前端以html语法渲染

    变量 pagination_html是一个方法返回的html代码,需要在前端渲染出来,不是当字符串显示 <!-- /.box-body --> {% autoescape off %} { ...

  10. 查看Linq to Sql生成的sql语句(转)

    查看Linq to Sql生成的sql语句   在控制台项目中,比较简单,直接db.Log = Console.Out;就OK了 但是在其他项目中,需要处理如下: StreamWriter sw = ...