<http://forum.pspad.com/read.php?f=2&i=10212&t=10189>
----------------------------------------------------------------
Ok, I'll try to explain you.
If you want to use pure C code in a C++ module, you must use the
construct:
extern "C" {
// C code
}
Due to the fact that __cplusplus is a symbol defined in all C++ compiler,
the programmer can use the #ifdef-#endif construct to conditionally
implement that extern construct. In C standard, it will not be parsed, in
C++ it will.
fubo
--
PSPad freeware editor http://www.pspad.com