Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!grace.cs.washington.edu!jeffb From: jeffb@grace.cs.washington.edu (Jeff Bowden) Newsgroups: comp.lang.c++ Subject: Re: Any interest in making C++ a real superset of ANSI C? Summary: Does too! Message-ID: Date: 2 Jun 89 19:14:46 GMT References: <7435@hoptoad.uucp> <9395@alice.UUCP> <10308@socslgw.csl.sony.JUNET> <11620@ulysses.homer.nj.att.com> <11623@ulysses.homer.nj.att.com> Sender: news@beaver.cs.washington.edu Distribution: comp Organization: Thorn of Taxis Lines: 30 In-reply-to: ekrell@hector.UUCP's message of 2 Jun 89 15:36:08 GMT In article <11623@ulysses.homer.nj.att.com> ekrell@hector.UUCP (Eduardo Krell) writes: >Even this doesn't compile: > >main(){ > printf("hello, world\n"); >} > But it does! Witness: % cat >t.cc main(){ printf("hello, world\n"); } % g++ t.cc % a.out hello, world % cp t.cc t.c % CC t.c CC t.c: "t.c", line 2: warning: undeclared function printf() called cc t..c -lC % a.out hello, world % -- "It has been discovered that C++ provides a remarkable facility for concealing the trivial details of a program - such as where its bugs are."