Every C++ compiler predefines the macro __cplusplus , so you can use that ... body of header #ifdef __cplusplus } // closing brace for extern "C" #endif.
確定! 回上一頁