title: Understanding find and vectors C++
body: <p>I'm trying to understand this line of code</p>
  
  <pre><code>vector&lt;int&gt;::iterator it = find(list_vector.begin(), list_vector.end(), 5)
  </code></pre>
  
  <p>where I have <code>vector&lt;int&gt; list_vector;</code> declared before hand.</p>
  
  <p>What does the 5 do? What does it return? Does it return the 5 if it can find it at the beginning and end? If I wanted to make an if statement, and I wanted to find if the number 10 was in the statement (if it was, return true) how would I go about doing that?</p>