| ??? 11/20/02 04:33 Read: times |
#32805 - RE: convert a large hex number to ascii |
I'm so exasperated, I could scream! The line after "s += n;" still didn't come through on the last one!
void ltoa( char *s, long bin, unsigned char n ) { if (bin >= 0) *s = '+'; else { *s = '-'; bin = -bin; } s += n; *s = '\0'; while (--n) { *--s = (bin % 10) + '0'; bin /= 10; } } |
| Topic | Author | Date |
| convert a large hex number to ascii | 01/01/70 00:00 | |
| RE: convert a large hex number to ascii | 01/01/70 00:00 | |
| RE: convert a large hex number to ascii | 01/01/70 00:00 | |
| RE: convert a large hex number to ascii | 01/01/70 00:00 | |
| RE: convert a large hex number to ascii | 01/01/70 00:00 | |
| RE: convert a large hex number to ascii | 01/01/70 00:00 | |
| RE: convert a large hex number to ascii | 01/01/70 00:00 | |
| RE: convert a large hex number to asc | 01/01/70 00:00 | |
RE: convert a large hex number to ascii | 01/01/70 00:00 |



