[ale] C++ to C code converter

Beth A. Schroeder beths at cc.gatech.edu
Thu Dec 4 15:10:31 EST 1997


gcc has a built-in preprocessor that converts C++ to C - the 
resulting C is not particularly human-readable though.

> charlie hubbard wrote:
> 
> > Is there a way to convert c++ code to c code?  Isn't that what
> > the compiler does anyway?
> 
> I don't know if there is a converter available, but the compiler does
> not convert C++ to C.  At least the compilers I've used don't.  The
> binaries for C++ are different and usually larger.  Generally, C
> compilers generate code that runs faster.

Beth

-- 

Beth A. Schroeder
College of Computing
Georgia Institute of Technology
Atlanta, GA  30332
beths at cc.gatech.edu






More information about the Ale mailing list