#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);