|
-
July 12th, 2011, 10:55 PM
#1
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|