????????
????????C++?????????У???????????????????????????
????#ifdef __cplusplus
????extern "C" {
????#endif
????/*...*/
????#ifdef __cplusplus
????}
????#endif
?????????????????????????????????????????????????????or?????С?????????????????????????????
????1??#ifdef _cplusplus/#endif _cplusplus?????
????2??extern "C"
????2.1??extern?????
????2.2??"C"
????2.3??С??extern "C"
????3??C??C++???????
????3.1??C++??????????
????3.2??C??????????
????3.3??C++?е???C?????
????3.4??C?е???C++?????
????4??C??C++???????????????????
????1??#ifdef _cplusplus/#endif _cplusplus?????
?????????extern "C"??????????????#ifdef _cplusplus/#endif _cplusplus?????á???????#ifdef/#endif??#ifndef/#endif????????????#ifdef _cplusplus/#endif _cplusplus——?????????????_cplusplus?????#ifdef/#endif?????????????С?
????????????????#ifdef _cplusplus/#endif _cplusplus??????C?????в????extern "C"???????????????extern "C"???????????C?????б??????????????????????????????.c????а?????extern "C"??????????????
??????????????????????????????????????——????????????????????????????????????????????????????????????????????о?????????web??????——Mongoose??????mongoose.h?е???δ?????
????#ifndef MONGOOSE_HEADER_INCLUDED
????#define    MONGOOSE_HEADER_INCLUDED
????#ifdef __cplusplus
????extern "C" {
????#endif /* __cplusplus */
????/*.................................
????* do something here
????*.................................
????*/
????#ifdef __cplusplus
????}
????#endif /* __cplusplus */
????#endif /* MONGOOSE_HEADER_INCLUDED */
??????????????????#ifndef/#endif???????????????????????????????????????
???????????mongoose.h??????????б??????????????#include "mongoose.h"???????????????????????????Щ?????????′??????????????????????inline?????????????????mongoose.h?????#include???Σ??磬a.h??????????mongoose.h??????b.c?????#include a.h??mongoose.h??——?????????????????????????塢?????????????Σ???
???????????????????????????????????Щ????????ó????????????????Щ???????????????????????????????????????????????????????????????