1 2 3 4 5 6 7 8 9 10 11 12 13 14
#pragma once #define OCTAL 8 #define DECIMAL 10 #define HEX 16 /** * Convert int into a string */ char *itoa(char *p, int x, int base); /** * Convert unsigned int into a string */ char *utoa(char *p, unsigned x, int base);