CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Jun 2011
    Posts
    9

    How to Check if Data is Sorter in C++

    Dear Experts,
    I would like to know how to check if the string data is sorted in c++ in ascending order
    For example i want to check if below data is sorted if not i wish to prompt error

    "<subName>ABC-R4</subName>"
    "<subName>ABC-R1</subName>"
    "<subName>ABC-R3</subName>"
    "<subName>ABC-R2</subName>"

    Thanks!
    Last edited by geforce23; July 12th, 2011 at 10:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured