Hi Abhishek, You can use following string comparison function "strcmplogicalw" you can refer http://msdn.microsoft.com/en-us/library/windows/desktop/bb759947%28v=vs.85%29.aspx
Regards, Shivakumar On Wed, Apr 18, 2012 at 9:16 AM, abhishek <zeal.gosw...@gmail.com> wrote: > 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. > -- 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.