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.
A map<int,int> might be easier than a vector.
A map makes sure the keys are unique and the value can be used to count the number of times each key is encountered.