can anyone please explain me in brief that how exactly this container work ? or can u giveme some link of this. i have tried to look on some links by google, but i am not much clear about my doubt. please help me if u can. thanks.
nitin1 15 Master Poster
Recommended Answers
Jump to PostCheck this out
Jump to PostLets say you need to read in a text file and display a list of all of the unique words in the the file in the order they appeared. Using an unordered set you would be able to do that by reading in each word from the file and inserting …
Jump to Postthe words will be stored in the order they are added to the unordered set unlike a set where they are put in order of thier key value.
That's not true. Not at all. The values stored in an unordered_set will appear in whatever order they map to …
Jump to Postwe can say that set (ordered or unordered) are MAINLY used for look-ups ? and i have a big advantage with set(ordered) that they are arranged in sorted order when i will traverse it. am i roght ?
Yes that's right.
secondly, if can i have a …
All 16 Replies
NathanOliver 429 Veteran Poster Featured Poster
nitin1 15 Master Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
nitin1 15 Master Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
nitin1 15 Master Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
NathanOliver 429 Veteran Poster Featured Poster
nitin1 commented: nicely answered!! +2
nitin1 15 Master Poster
NathanOliver 429 Veteran Poster Featured Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
NathanOliver 429 Veteran Poster Featured Poster
nitin1 15 Master Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
nitin1 15 Master Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.