Added simple implementation of hex/octal conversion

This commit is contained in:
kdeng00
2020-10-29 21:47:51 -04:00
parent 72906bac35
commit 9639c6453e
8 changed files with 239 additions and 71 deletions
+11 -9
View File
@@ -3,16 +3,18 @@
#define BUFFER_LIMIT 1024
char hex_value[BUFFER_LIMIT];
char *HexOctalConv_number_converted_to_hex(char *value);
int HexOctalConv_hex_converted_to_number(char *value);
int HexOctalConv_octal_converted_to_number(char *value);
int HexOctalConv_hex_part_to_number(char hex_part);
long HexOctalConv_rudy_pow(long value, int power);
int HexOctalConv_size_of_string(char *value);
char HexOctalConv_convert_hex_part(int value);
void HexOctalConv_reverse_order(char *value);
void HexOctalConv_number_converted_to_hex(char *hex_value, char *value);
void HexOctalConv_number_converted_to_octal(char *octal_value, char *value);
static long rudy_pow(long value, int power);
static int size_of_string(char *value);
static void reverse_order(char *value);