Sender: nate AT cartsys DOT com Message-ID: <373B14CF.ACA96CD@cartsys.com> Date: Thu, 13 May 1999 11:07:11 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: questions about djgpp environment References: <19990510114155 DOT 20583 DOT 00000082 AT ng-ci1 DOT aol DOT com> <7h6v6b$793$1 AT hagen DOT cloud9 DOT co DOT uk> <373897F8 DOT 7AF85BCD AT unb DOT ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Endlisnis wrote: > > Michael Stewart wrote: > > > Et1850 wrote in message <19990510114155 DOT 20583 DOT 00000082 AT ng-ci1 DOT aol DOT com>... > > >is it possible to put a function in a struc using c > > > > > >how would i get, say: 'RHIDE' to do c++ (as default) i like using c but c++ > > >offers the above which i have ran accross possible solutions to probs. > > use the .cpp extension. gcc uses the extension to decide what format the > > code is in. > > I would advise using ".cc" as the extension in RHIDE. There is a problem > with RHIDE (at least v1.6) that won't allow you to debug a program if the file > extension is ".cpp". FYI, the problem is in GCC, not RHIDE, and I believe it is gone in all GCC versions since 2.8.x. -- Nate Eldredge nate AT cartsys DOT com