title: How do I get a specific element from a std::list?
body: <p>I have been using Java for a long time and decided to change to C++. I have already made a list like this:</p>
  
  <pre><code>std::list &lt;Player*&gt; players;
  </code></pre>
  
  <p>And all I want to do is to get a specific element from this list. I remember in Java calling a ".get(index)" method but I can't find something similar in C++.
  Can anyone help me?
  Thank you. </p>