Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!ulysses!hector!ekrell From: ekrell@hector.UUCP (Eduardo Krell) Newsgroups: comp.lang.c++ Subject: Re: Any interest in making C++ a real superset of ANSI C? Message-ID: <11623@ulysses.homer.nj.att.com> Date: 2 Jun 89 15:36:08 GMT References: <7435@hoptoad.uucp> <9395@alice.UUCP> <10308@socslgw.csl.sony.JUNET> <11620@ulysses.homer.nj.att.com> Sender: netnews@ulysses.homer.nj.att.com Reply-To: ekrell@hector.UUCP (Eduardo Krell) Organization: AT&T Bell Laboratories Lines: 22 In article wjc@ho5cad.ATT.COM (Bill Carpenter) writes: >Well, for example, on page 3 of "The C++ Programming Language", twice >as a matter of fact. It says "C is retained as a subset", but then in page 5 it says "both C and ANSI C are very close to being subsets of C++" and under the "Efficiency and Structure" heading (same page), it says "C++ was developed from the C programmingh language and with very few exceptions retains C as a subset". It's clear that you can't retain 100% compatibility with C. Even this doesn't compile: main(){ printf("hello, world\n"); } Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {att,decvax,ucbvax}!ulysses!ekrell Internet: ekrell@ulysses.att.com