C与CPP混合编码
2021-10-19 本文已影响0人
希望是水户洋平
先看以下这个编译声明:
#ifdef __cplusplus extern "C"
{
#endif
//add code here
#ifdef __cplusplus
}
#endif
#endif
//待续
先看以下这个编译声明:
#ifdef __cplusplus extern "C"
{
#endif
//add code here
#ifdef __cplusplus
}
#endif
#endif
//待续