alright... i'm looking for a more elegant way of doing this than what i have in mind currently.
okay.... i have a vector of strings. i need to find a certain string's location within the contents of the vector, and return that location as an integer. i just want to know if there's any member functions to the vector class to do what i want, or am i forced to write a while loop to go look from 0 to vector.size() seeing if i can gert a match? (that's kinda boring
)
okay.... i have a vector of strings. i need to find a certain string's location within the contents of the vector, and return that location as an integer. i just want to know if there's any member functions to the vector class to do what i want, or am i forced to write a while loop to go look from 0 to vector.size() seeing if i can gert a match? (that's kinda boring