Aaron Ardiri wrote:
> int c = 'ABCD';
> the same thing could be done as follows:
>
> unsigned char *p;
> int c;
>
> p = &c;
> *p++ = 'A';
> *p++ = 'B';
> *p++ = 'C';
> *p++ = 'D';
Note that this only holds for little endian machines. Your mileage
on intel machines will surely vary! :-)
Regards,
Holger Klawitter
--
Holger Klawitter +49 (0)251 484 0637
[EMAIL PROTECTED] http://www.klawitter.de/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html