Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!ames!amdcad!sun!pitstop!sundc!seismo!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond From: diamond@csl.sony.JUNET (Norman Diamond) Newsgroups: comp.lang.c Subject: Re: Include files Message-ID: <10026@diamond.csl.sony.JUNET> Date: 30 Jan 89 05:02:35 GMT References: <10991@umn-cs.CS.UMN.EDU> <9526@smoke.BRL.MIL> Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 30 In article <10991@umn-cs.CS.UMN.EDU> raghavan@umn-cs.cs.umn.edu (Vijay Raghavan) writes: > main() { > #include > FILE *xx; > ... > } > proc1() { > #include > FILE *yy; > ... > } In article <9526@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes: [First three points, good and helpful ones, omitted.] > The final point is that the standard headers may be included more > than once with no effect different from being included exactly once. True, but Mr. Raghavan unwittingly posed a problem. The effect must be as if the header were included exactly once, yes, -- but -- as if the header were included at which place? ! [I have been asked not to complain about inews requiring filler lines] -- Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp@relay.cs.net) The above opinions are my own. | Why are programmers criticized for If they're also your opinions, | re-inventing the wheel, when car you're infringing my copyright. | manufacturers are praised for it?