I am reading a line of characters from the command line i.e.
progname 0102030405060708
argv[1]
is of type char *argv[]
Than argv[1]
is 0102030405060708
This is supposed to be used as a list of 8 characters in their hex representation.
What I need to do is take this value and divide it up into its parts. i.e.
01, 02, 03, 04 ...
And use them as hex values.
Essentially I need to get the char that 01, 02, 03....
in hex represent
I am not sure how to do this. Any help would be greatly appreciated.