Thunderbrd
C2C War Dog
Awesome... good to know thank you.std::vector (and some other containers, e.g. array, deque, list, queue) has no member find function, std::find is the only option here. Basically if a container has its own find function then use it, as it will have the best chance to leverage its knowledge about the internal structure for better performance, otherwise use std::find. However there are faster alternatives to std::find in a vector if it is known to be sorted: binary search.
Thank you as well for finding and correcting the problem initially here.