Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199910130416.VAA03598@aleph.ssd.hal.com> Subject: Re: Re[2]: HELP!!!! To: cygwin AT sourceware DOT cygnus DOT com Date: Tue, 12 Oct 1999 21:16:59 -0700 (PDT) Cc: 666FallenAngel AT gmx DOT net In-Reply-To: <19991012141004.26500.rocketmail@web116.yahoomail.com> from "Earnie Boyd" at Oct 12, 99 07:10:04 am From: "J. J. Farrell" X-Mailer: ELM [version 2.4 PL23] Content-Type: text > From: Earnie Boyd > > --- FallenAngel <666FallenAngel AT gmx DOT net> wrote: > > > > EB> Also, try removing the spaces within the angle brackets. I.E. > > EB> write it as #include instead of #include < stdio.h >. > > > > thanks! that worked! -but why? > > i'm using a c/c++ tutorial and there it's " < stdio.h > > > I've never seen it with spaces. Most of us are lazy and avoid unneeded > characters. I don't know what the ANSI specifications are to know if > this is a bug or not. All the characters between the angle brackets form the name of the header, so asks for a different header than < stdio.h >. The mapping from this name to an actual file or built-in representation is implementation defined, so an implementation is free to interpret the second version by stripping leading and trailing spaces, and end up with the same header as the first version, if it so chooses. The names of the Standard headers do not include leading or trailing spaces, so the correct form to use is . FallenAngel should get a better tutorial. > I've copied the list on this for the benefit of archiving. Ditto - this is off-topic, but I thought it worth an explanation to complete the story. If anyone wants to discuss this further, please do so in an appropriate forum or by private email. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com