J.C. Wren wrote:
This is what I use for that sort of function.

char ntoh (int n)
{
   return ("0123456789ABCDEF" [n & 0x0f]);
}
A pice of code that made me smile ;-). I like it!

        Georg


Reply via email to