Re: How to use ggc turn a progam from c++ to pure C



Dan Espen <daneNO@xxxxxxxxxxxxxxxxxxxxx> wrote:
> "lnzju" <geniuslee@xxxxxxxxx> writes:

>> How do I use gcc to turn a progam from c++ to pure C

> You don't.

> Why do you think gcc is a language converter?

He may be thinking of olden times in which C++ "compilers" actually
generated C, which was then compiled with a C compiler. Obective c++
may still do that? Isn't it geerated when one compiles gnu gcc and
friends?

> Some C++ will compile as c, but I'd guess most won't.

Ye olde "intern C" command!

Peter
.