If I have 10 hex number like this
1BAE96F58597ABB6
5848EFA6E8AFF991
3458DECA85ADC69
......
How to write code to sort this hex number?
Thank you.
This is a discussion on How to sort hex. number ? within the C++ Programming forums, part of the General Programming Boards category; If I have 10 hex number like this 1BAE96F58597ABB6 5848EFA6E8AFF991 3458DECA85ADC69 ...... How to write code to sort this hex ...
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.