How to use C Scope getpid() strcmp() in C++ mode
I'd like to intermix some c/c++ code
I all have the extension of cpp
but getpid() and strcmp() were outside the scope
Could anybody help?
I used extern "C" { to no avail
the error mess
is simply
getpid not declared in this scope
etc
Thanks
Jack
|