Hi,,,
How do u read this :
#ifdef __cplusplus extern "C" { #endif . . #ifdef __cplusplus } #endif #endif
and where __cplusplus is defined? Thanks
__cplusplus is automatically defined when you compile using a C++ compiler.
This is not the case when compiled with a C compiler.
So you can use it to make your code compatible between C and C++.