ANSI C and C++

Karl Heuer karl at haddock.ima.isc.com
Mon Jun 11 05:13:06 AEST 1990


In article <3547 at intvax.UUCP> novak at intvax.UUCP (James L. Novak) writes:
>My question is: is C++ a superset of ANSI C such that any C++
>compiler will take ANSI C and spit out "standard" C (or binary)?

Not quite.  And if it compiles to C code, the result is unmaintainable.

>If this is true, can't we just all get C++ compilers?

Why not "just" get an ANSI C compiler?  That's almost certainly less work than
getting a C++ compiler.

Karl W. Z. Heuer (karl at ima.ima.isc.com or harvard!ima!karl), The Walking Lint



More information about the Comp.lang.c mailing list