Daniel K. O. wrote:
> Noorez Kassam wrote:
>
>> where is _cplusplus defined?
>
>
>
> It's a built-in macro, defined when you are compiling in C++ mode.
>
>
>
> Daniel K. O.
what danny said. that construct is used to allow c programs to be able
to link to the library that's produced by that code, even if it's c++
code. of course, that does NOT mean that you can slap it around any c++
header and expect it to work; you can't export any non-c stuff (like
overloaded functions).
-alvin
|