*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: set with duplicates
 
Similar Threads
How to remove duplicate from ArrayList?
Duplicates handling by Set Collection
Collection question
List Vs Set
best way to find duplicates on array