[algogeeks] string comparsion

2012-04-17 Thread Abhishek Goswami
Hi,

I need to compare string into following way. Can anyone provide me some
insight or algorithm in c++.

  For example:

 a5  a11- because 5 is less than 11
 6xxx  007asdf- because 6  7
 00042Q  42s  - because Q  s alphabetically
 6   8  006 9   - because 8  9



Thx in advance

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] String comparison

2012-04-17 Thread abhishek
Hi,

I need to compare string into following way. Can anyone provide me some
insight or algorithm in c++.

  For example:
 
 a5  a11- because 5 is less than 11
 6xxx  007asdf- because 6  7
 00042Q  42s  - because Q  s alphabetically
 6   8  006 9   - because 8  9

 

Thx in advance

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.