This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes C / C++ and the fly likes set with duplicates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "set with duplicates" Watch "set with duplicates" New topic
Author

set with duplicates

Rodrigo Bossini
Ranch Hand

Joined: Jul 03, 2009
Posts: 113
Hi,

I need some data structure in c++ similar to "set" that will keep the elements sorted when inserted but that will allow duplicates to exist. Can you recommend one?

Thanks.


I see wind mills
Rodrigo Bossini
Ranch Hand

Joined: Jul 03, 2009
Posts: 113
Hi,
I'm using the STL multiset and everything is ok. Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: set with duplicates
 
jQuery in Action, 3rd edition