|
-
November 12th, 2003, 05:27 PM
#1
std::map position
I have a std::map that is full of string, string elements that are presorted in a particular way. I need to know what position two elements are in, so I can know if one element is more important than the other. For example:
1: "10","Test"
2: "13","Test2"
3: "4","Test3"
4: "66","Test4"
5: "34","Test5"
Someone enters "66", "13", "34" I need to know that the order should go "34", "66", "13".
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
|