By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,184 Members | 1,388 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,184 IT Pros & Developers. It's quick & easy.

Nice way of eliminating duplicated values in an array?

P: n/a
Thank you so much, guys. I really appreciate that.
-----Original Message-----
Hi, I am wondering if there is a nice way to elimate
duplicated values in an array, just like the "unique"
algorithm in STL.

eg. original array is {1, 1, 2, 3, 3, 4);
the result is (1, 2, 3, 4)

Thank you very much for your help.


Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.