What does this do?
I searched MSDN and couldn''t find anything but what does this do.....
#ifdef __cplusplus
extern "C"
{
#endif
if you are compiling in c++ and trying to link to a library written in straight C, then you use the extern "C" around the function prototypes that belong to the library written in C...you only use it if you wrote a library in C and want to use it in C++
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement