#ifndef __INCvxWorksh #define __INCvxWorksh #ifdef __cplusplus extern "C" { #endif /*...*/ #ifdef __cplusplus } #endif #endif /* __INCvxWorksh */
#ifndef __INCvxWorksh #define __INCvxWorksh #endif
#ifdef _cplusplus //这句表示如果是c++文件 extern "c" { //用extern "c"把一段代码包起来 #endif #ifdef _cplusplus } #endif
#ifndef __INCvxWorksh #define __INCvxWorksh #endif的作用是防止被重复引用。