__LINE__ etc.
Henry Spencer
henry at utzoo.uucp
Thu May 10 03:20:51 AEST 1990
In article <1990May9.003253.3637 at mdivax1.uucp> mdivax1!robinson (Jim Robinson) writes:
>>The C standard requires that __LINE__ be supported by every conforming
>>implementation.
>
>Is this the ANSI C Standard?
Yes.
>An admittedly cursory look thru a copy of the
>K&R C manual (first edition) did not produce any mention of __LINE__.
That book, good though it is, is 12 years old. Since C is only about
18 years old, you should be reading something newer. The second edition
is a good choice.
>And, is __FILE__ required to be supported?
Yes.
--
If OSI is the answer, what is | Henry Spencer at U of Toronto Zoology
the question?? -Rolf Nordhagen| uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.lang.c
mailing list