title: C++: is it possible to search a vector/container for a particular string/value and return its index?
body: <p>I would appreciate some advice related to manipulating data in vectors.</p>
  
  <p>I have written code that results in two sets of vectors: strings (labels/names) and doubles (data).  The order of the labels in the string vector may be different for each calculation I do.  </p>
  
  <p>Here's what I would like to do.  Let's say that one element (label) in the vector is: Tom.  I would like to know if it is possible to search the string/label vector for "Tom" and return the index of Tom's location in the vector.  </p>
  
  <p>Is this something that sounds possible in C++?  I would appreciate any tips.  Thanks.</p>