Laurin
|
dd0176d5dc
|
refactoring: changed variable names to be more specific
|
11 months ago |
Laurin
|
3a704ca670
|
refactoring: freed allocated memory of result strings in main program
|
11 months ago |
Laurin
|
2157c6a2f4
|
Implemented interface and functions to convert from or into hexadecimal system in main program
|
11 months ago |
Laurin
|
d31e8c5463
|
Implemented interface and functions to convert from or into binary system in main program
|
11 months ago |
Laurin
|
089e91af43
|
Implemented interface for main program for conversion of numbers
|
11 months ago |
Laurin
|
26343283e4
|
refactoring: made code more readable and added comments
|
11 months ago |
Laurin
|
004b81aca4
|
refactoring: added comments describing the function's behavior and use in header file
|
11 months ago |
Laurin
|
ded7c60fcb
|
defined and implemented function to convert hex input to decimal
|
11 months ago |
Laurin
|
2fe8d2dcbf
|
fixed function converting binary input to decimal not working for every input
|
11 months ago |
Laurin
|
bc133aa9f1
|
refactoring: handled possible memory allocation errors in both convert functions
|
11 months ago |
Laurin
|
16405fd475
|
refactoring: changed read only parameter of function from int to const int
|
11 months ago |
Laurin
|
2800426e7c
|
implemented hexStrLen function into to convert function to dynamically determine hex string length
|
11 months ago |
Laurin
|
f68766a844
|
implemented function for determining string length of hex string
|
11 months ago |
Laurin
|
ed0ba8f0b8
|
declared function to determine string length of hex string
|
11 months ago |
Laurin
|
a96a875911
|
added other cases for input being smaller than 16
|
11 months ago |
Laurin
|
9cbb10f125
|
added function to convert int to hex string for small ints
|
11 months ago |
Laurin
|
7dfe49145c
|
declared new function to convert int to hex in header file
|
11 months ago |
Laurin
|
a7218c6a73
|
implemented prototype function to convert binary strings of 1s into decimal
|
11 months ago |
Laurin
|
3648f419cd
|
declared new function in header file to convert binary numbers into decimal
|
11 months ago |
Laurin
|
abf4d186ad
|
added if statement to be able to convert negative integers
|
11 months ago |
Laurin
|
fb4ad3c51b
|
expanded binaryStrLen to determine length in case input is negative
|
11 months ago |
Laurin
|
69d57301a1
|
refactoring: moved if statement for input 0 to top
|
11 months ago |
Laurin
|
6fd5e28d8c
|
implemented binaryStrLen function into convertIntToBinaryStr
|
11 months ago |
Laurin
|
aa2e397bec
|
fix added smaller equal sign in loop head
|
11 months ago |
Laurin
|
e504c53d9f
|
added case in binaryStrLen for input 0 length is 1
|
11 months ago |
Laurin
|
08f6485826
|
added function to determine binary string length
|
11 months ago |
Laurin
|
c91005ceb8
|
declared new function to determine length of binary string in header file
|
11 months ago |
Laurin
|
501ebf2245
|
refactoring: used length for indexing instead of index
|
11 months ago |
Laurin
|
7b11525191
|
added function to convert int from 0 - 3 into binary string
|
11 months ago |
Laurin
|
d335bfcb5f
|
defined conversionOfNumbers.h
|
11 months ago |