Newbie question: When to use extern "C" { //code } ?
- by Russel
Hello,
Maybe I'm not understanding the differences between C and C++, but when and why do we need to use:
extern "C" {
? Apparently its a "linkage convention"?
I read about it briefly and noticed that all the .h header files included with MSVS surround their code with it. What type of code exactly is "C code" and NOT "C++ code"? I thought C++…