Non-decimal radices/Convert: Difference between revisions
Content added Content deleted
(awk) |
|||
Line 193:
char *to_base(long num, int base)
{
static const char *map = "0123456789abcdefghijklmnopqrstuvwxyz";
char *result = NULL;
int i=0, j;
|