Added simple implementation of hex/octal conversion
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user