I made a librairy to make Hexadecimal / Decimal conversion without the use of stdio.h
. Very simple to use :
char* dechex (int dec);
This will use calloc()
to to return a pointer to an hexadecimal string, this way the quantity of memory used is optimized, so don't forget to use free()
Here the link on github : https://github.com/kevmuret/libhex/