• Advertisement

Archived

This topic is now archived and is closed to further replies.

What does this do?

This topic is 5951 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I searched MSDN and couldn''t find anything but what does this do..... #ifdef __cplusplus extern "C" { #endif

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
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++

Share this post


Link to post
Share on other sites

  • Advertisement