I have an element E and want to know if it is equal to any object in the vector V.
Obviously I could make a loop and try each one after another, but is there any built in method that will do this for me? And, more important, would that save computing power?
Obviously I could make a loop and try each one after another, but is there any built in method that will do this for me? And, more important, would that save computing power?
