title: c++ list random access
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5733842/how-to-get-a-certain-element-in-a-list-given-the-position">How to get a certain element in a list, given the position?</a>  </p>
  </blockquote>
  
  
  
  <p>so in python you can get an element in a list in a random access fashion....</p>
  
  <pre><code>list = [1,12,3]
  
  print(list[1]) 
  </code></pre>
  
  <p>and it prints 12....</p>
  
  <p>can you do the same thing with c++ list? </p>
  
  <p>I'm talking about this: <a href="http://www.cplusplus.com/reference/stl/list/list/" rel="nofollow noreferrer">http://www.cplusplus.com/reference/stl/list/list/</a></p>