Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: __LINE__ and __FILE__ -- a beginner's question Message-ID: <1989Oct13.165216.29312@utzoo.uucp> Organization: U of Toronto Zoology References: <6257@arcturus> Date: Fri, 13 Oct 89 16:52:16 GMT In article <6257@arcturus> evil@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@zoo.toronto.edu