On Thursday, November 17, 2016 at 4:58:11 PM UTC-6, Richard wrote:
> [Please do not mail me a copy of your followup]
>
> Popping mad <
rai...@colition.gov> spake the secret code
> <o0gjqr$k40$
7...@reader2.panix.com> thusly:
>
> >I am using zlib and it has zlib.h in the /usr/include/ directory on the
> >system. Why can I not use
> >
> >#include <zlib>
>
> Because the header is named zlib.h. The <> vs. "" just changes the
> places where the compiler looks for header files. Other than that,
> you have to specify the entire name of the header file.
>
> >#include <czlib>
>
> These style of includes, e.g. <cstdlib>, are special include file
> names specified by the ISO C++ standard.
I'm not able to recall who it was that made this point previously,
but someone here said that those special names are a hindrance
in terms of searching. In general I'm not an advocate of uniformity,
but having multiple forms for the names of headers makes it harder
to find things.
And if I remember right, Alf advocated against using those
parallel headers that start with a 'c', like <cstdio>.
I think he considered them to be a failed experiment.
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net