my overall goal is to sort hexidecimal numbers. My problem is converting from long int to hex and saving my data in hex format so that I may sort it in that format. For example:
long num = 1030507233;
How do I convert and save this? I know that the hex value is 3d6c4ea1 because I can print it out in hex format. How can I get and save this? I will also need to convert it back to decimal format once it has been sorted. This part shouldn't raise too much of a problem, but I'll appreciateany and all suggestions.
long num = 1030507233;
How do I convert and save this? I know that the hex value is 3d6c4ea1 because I can print it out in hex format. How can I get and save this? I will also need to convert it back to decimal format once it has been sorted. This part shouldn't raise too much of a problem, but I'll appreciateany and all suggestions.