[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Language War (Re: "C" Manual)



On Fri, 4 Jan 2002 20:17:08 -0500, dman <dsh8290@rit.edu> wrote:

> On Thu, Jan 03, 2002 at 08:43:55AM -0800, Craig Dickson wrote:
> | dman wrote:
> | 
> | > However the thing to remember about macros is that they are textual
> | > substituation.  It is effectively the same thing as writing the
> | > assignment yourself.
> | 
> | So?
> 
> The point there was that it isn't a feature of the language.

Well, actually the C preprocessor *is* a part of the language.  So, the
hell of C, and C++ by extension, means you really need to learn two
languages...  But the preprocessor macro language is even more confusing
than the C part.  Consider the # and ## operators.  More than simple
textual substitution is going on.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: