FW: Mixing C/C++ code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm a CS student working on a project that mixes C/C++ compiling both with
g++. If you have the time I was hoping you could help. I've described the
problem with some depth here:

http://forums.devshed.com/c-programming-42/calling-c-function-from-c-492886.
html

Also, I'm a bit unclear on how the: extern "C" / extern "C++" notation
works. If I am using g++ to compile both my C and C++ code...when and which
of these should I use? Also, I read somewhere that I shouldn't use these
externs if I'm on a solaris machine, is that right?

Thank you for your time.

Robert Wong





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux