當前位置:編程學習大全網 - 編程軟體 - C++編程初學者

C++編程初學者

壹、

#ifdef API_LEV5

#include "mgapicolor4.h"

#include "mgapicolor2.h"

#include "mgapicolor1.h"

#endif

#ifdef API_LEV4

#include "mgapicolor4.h"

#include "mgapicolor2.h"

#include "mgapicolor1.h"

#endif

#ifdef API_LEV3

#include "mgapicolor2.h"

#include "mgapicolor1.h"

#endif

#ifdef API_LEV2

#include "mgapicolor2.h"

#include "mgapicolor1.h"

#endif

#ifdef API_LEV1

#include "mgapicolor1.h"

#endif

#ifdef __cplusplus

extern "C" {

#endif

總感覺自己寫的時候用的不多(鄙人比較菜……)

這兩個都是mutilgen API的頭文件裏的東西……第壹個貌似是用來判斷引用庫的數目 那個API_LEV5在工程->設置 裏C/C++ 預處理函數定義,目的是根據需要判斷引用函數庫的數量 以達到節約資源的目的

底下那個感覺是判斷是C或C++的

二、

貌似直接用gets(s)就可以輸入空格……

  • 上一篇:哈弗h6噴水電機不工作是什麽故障
  • 下一篇:空間信息與數字技術專業學什麽
  • copyright 2024編程學習大全網