__LINE__ and __FILE__ -- a beginner's question
Henry Spencer
henry at utzoo.uucp
Sat Oct 14 02:52:16 AEST 1989
In article <6257 at arcturus> evil at arcturus.UUCP (Wade Guthrie) writes:
>For what purpose are the __LINE__ and __FILE__ macros used? Are these
>only useful for the writers of code that, in turn, produces compileable
>code, or is there some use for the applications programmer?
Their only major use is for generation of error messages that identify
the exact location of the problem.
--
A bit of tolerance is worth a | Henry Spencer at U of Toronto Zoology
megabyte of flaming. | uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.lang.c
mailing list