If I have 10 hex number like this
1BAE96F58597ABB6
5848EFA6E8AFF991
3458DECA85ADC69
......
How to write code to sort this hex number?
Thank you.
If I have 10 hex number like this
1BAE96F58597ABB6
5848EFA6E8AFF991
3458DECA85ADC69
......
How to write code to sort this hex number?
Thank you.
Are they represented as a string? Use strcmp().
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.