|
|
Invisible wrote:
> I cannot for the life of me figure out how to get at
> symbolic constant names. :-(
Technically, there's no such thing in C as such. The #define substitutes
the actual value for the name before the "compiler proper" ever sees it.
That's why the C standard requires something like
f(3 + 2);
to not do any additions before invoking f(5). Otherwise, people would
hesitate to use something like
#define LAST (PREV+1)
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|