I'm looking to examine a series of differing integer results and discard any results that don't appear more at least 3 times. and then obviously I need to collect values of the integers that passed the test. Any advice ??
Put them in an vector, go through the vector, keep track of how many times each value appears, when you're done go through the vector again and throw away all the ones that didn't come up at least three times.