Padraig.Brady at compaq.com
Wed Oct 11 14:56:08 IST 2000
Hmm, this could be useful, how about a handy HEX macro?
#define HEX(x) (x["0123456789ABCDEF"])
(Would have to make sure that duplicate strings merged
when compiling though).
> -----Original Message-----
> From: Stephen Shirley [mailto:diamond at csn.ul.ie]
> Sent: 11 October 2000 14:46
> To: Guest, Ken
> Cc: ILUG Social List
> Consider the following quote:
> "C's Eccentric View Of Arrays: C compilers transform myArray[i] into
> *(myArray + i), which is equivalent to *(i + myArray) which
> is equivalent
> to i[myArray]. Experts know to put this to good use. "
> Wow. You really do learn something every day. <evil grin>
> On Wed, 11 Oct 2000, Guest, Ken wrote:
> > anybody read http://mindprod.com/unmain.html ?
> > Makes for really evil & unmaintainable code...
More information about the Social