static, const, struct woes

Tim McDaniel mcdaniel at adi.com
Fri Jun 28 02:25:59 AEST 1991


So

   const int n = 100;
   float a[n];

isn't legal ANSI C?  Well, fooey.  That's one of my major uses of
#define constants, and one of those I'd like to get rid of.

--
  "Of course he has a knife; he always has a knife.  We all have knives.
  It's 1183 and we're barbarians." -- Eleanor of Aquitaine, "A Lion in Winter"
Tim McDaniel                 Applied Dynamics Int'l.; Ann Arbor, Michigan, USA
Internet: mcdaniel at adi.com                UUCP: {uunet,sharkey}!amara!mcdaniel



More information about the Comp.lang.c mailing list