RE: [Dev-C++] c or c++. that is the question
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <iv...@at...> - 2003-04-23 04:53:16
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Khalid El-Kary > Sent: Wednesday, April 23, 2003 7:19 AM > To: Dev...@li... > Subject: RE: [Dev-C++] c or c++. that is the question > > > One question: > > is there a extern "C++" like there's extern "C" ? > > if there's isn't, C code will be more useable, for both C++ > and C programms. > (?) > > > Khalid extern "C" works both ways! If you want to use your C++ code in C programs, enclose the C++ *definitions* inside extern "C" blocks. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |