mbr@aoa.UUCP (03/25/86)
Can anybody answer the following questions. Please send mail instead of posting the answers. I will summarize. 1. I know that the C pre-processor pre-defines a few symbols, including __LINE__ and __FILE__, but I have been unable to find this documented in K&R anywhere. Is this a quirk of PCC or is it true of all C compilers? 2. I know that there's also one which tells what machine you're generating code for, but I can't remember its name. 3. Is there a symbol which tells what function you're in? (Hmmmm... seems highly unlikely since the pre-processor wouldn't even know it was looking at a function, but maybe somebody hacked it in some other way.) 4. Are there any other pre-defined symbols? Thanks in advance. -- Mark of the Valley of Roses ...!{decvax,linus,ima,ihnp4}!bbncca!aoa!mbr ...!{wjh12,mit-vax}!biomed!aoa!mbr