So you have to decide whether the elements in your vector are the characters '0' through '9', 'A' through 'F', or the numbers 0 through 15. (Hint: whoever wrote the first convert function assumed...
Type: Posts; User: tabstop
So you have to decide whether the elements in your vector are the characters '0' through '9', 'A' through 'F', or the numbers 0 through 15. (Hint: whoever wrote the first convert function assumed...
Then look at your hex_convert code and ask yourself "What was I on when I wrote this?"
What does subtracting 10 have to do with converting to hex? Why are you always pushing the last digit of...
Why can't you just call convert from hex_convert?