#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)就可以輸入空格……