Mail Archives: djgpp/1996/02/02/02:21:33
I am new to C++ but experienced with C and soley use djgpp v2.
I have a simple C++ program which I intend to use as a library.
Can I call/use a C++ class from within a C program ?
If not, can I have a wrapper style function in the C++ program which will
use the class objects ?
As I understand it, I would also need 'extern "C" {' and '}' in the C++ file.
Is this correct ??
Thanks for your help.
Brendan Simon
brendan AT rdt DOT monash DOT edu DOT au
- Raw text -