title: Does std::list in C++ have a find( ) method?
body: <p>So I created an array of lists of arrays:</p>
  
  <pre><code>list&lt;string&gt; myArrayOfLists[size];
  </code></pre>
  
  <p>Then I pushed a word into it like this:</p>
  
  <pre><code>myArrayOfLists[index].push_back(word);
  </code></pre>
  
  <p>Then I tried to find a word like this:</p>
  
  <pre><code>myArrayofLists[index].find(myArrayOfLists[size].begin(), myArrayOfLists[size].begin(), word);
  </code></pre>
  
  <p>That last command returned a error that said:</p>
  
  <pre><code>no member named 'find' in 'std::list&lt;std::basic_string&lt;char&gt;, std::allocator&lt;std::basic_string&lt;char&gt;&gt;&gt;'
  </code></pre>
  
  <p>I thought that if I imported <code>&lt;algorithm&gt;</code> so why am I still getting an error? Is there another way to search the list and find what I am looking for?</p>