[comp.lang.c++] Is there a C++ grammar that will accept ANSI C and/or old-C

rjshaw@ramius.llnl.gov (Robert Shaw) (03/22/91)

Hi. Where is the Frequently Asked Questions list for this group? 

But, since I don't have it yet, I'm going to ask a FAQ. Is C++ gramatically
 a superset of old-C and/or ANSI C? That is, does there exist an ANSI C or
old-C program that is syntactically incorrect C++? 

I'm asking because I want to know if I can use a C++ grammar to accept
old-C and/or ANSI C. 

Before I get an avalanche of replies: 

I'm not concerned with semantics such as a function that is missing a 
prototype, just the syntax.


===============================================================================
 Rob Shaw                                              rjshaw@ocfmail.llnl.gov
===============================================================================