zoukankan      html  css  js  c++  java
  • 预处理 符号

    #include:包含一个源代码文件
    #define:定义宏
    #undef:取消已定义的宏
    #if:如果给定条件为真,则编译下面代码
    #ifdef:如果宏已经定义,则编译下面代码
    #ifndef:如果宏没有定义,则编译下面代码
    #elif:如果前面的#if给定条件不为真,当前条件为真,则编译下面代码
    #endif:结束一个#if……#else条件编译块
    #error:停止编译并显示错误信息


    #define DD(s) printf("%s",#s);


    extern

  • 相关阅读:
    Document
    Document
    Document
    Document
    Document
    Document
    Document
    Document
    8.React 组件封装
    window.location / history / 以及相关事件
  • 原文地址:https://www.cnblogs.com/mattins/p/2603893.html
Copyright © 2011-2022 走看看