Mail Archives: djgpp/1996/02/19/13:45:58
On Fri, 2 Feb 1996 05:55:51 GMT, Brendan Simon (brendan AT rdt DOT monash DOT edu DOT au) wrote:
: 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.
I suggest you read the C++ FAQ, then the comp.lang.c++.moderated charter
then post an article to the latter if you are still unanswered.
Dom
--
_____________________________________________________________________________
Dom De Vitto devitto AT ferndown DOT ate DOT slb DOT com
Schlumberger Automatic Test Equipment fox AT bcs DOT org DOT uk
Board Systems Desk/voicemail: +44(0) 1202 850951
Wimborne, Dorset, Site reception: +44(0) 1202 850850
England, BH21 7PP Fax: +44(0) 1202 850988
_____________________________________________________________________________
- Raw text -