RE: [Dev-C++] c or c++. that is the question
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2003-04-24 09:02:21
|
what about #ifdef __cplusplus //...code #endif or is that something that our company has created themselves? >From: "Ioannis Vranos" <iv...@at...> >To: <Dev...@li...> >Subject: RE: [Dev-C++] c or c++. that is the question >Date: Wed, 23 Apr 2003 07:53:06 +0300 > > > -----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 > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Express yourself with cool emoticons http://www.msn.co.uk/messenger |