From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: C++ to C Date: Wed, 05 Nov 1997 14:03:38 +0100 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 29 Message-ID: <34606EAA.873E535A@LSTM.Ruhr-UNI-Bochum.De> References: <346050C3 DOT 43D5 AT trash DOT lip6 DOT fr> NNTP-Posting-Host: c64.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Fabrice ILPONSE wrote: > > Hi! > > I've heard talking about programs that translate C++ programs to C. > Does somebody know about them? Well, the short answer is that there is no such thing. The longer one is that cfront, by AT&T, was a kind of precompiler that turned C++ into something one could feed into an ordinary C compiler. Much the same way as f2c works for FORTRAN. But as far as I recall it it dated to something in the early 90s, so it does not support a lot of features C++ has _now_. But after all, gcc is just a program to turn C++ into assembler ;-) -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************