title: Can multiple threads access a vector at different places?
body: <p>Lets say I have a vector of int which I've prefilled with 100 elements with a value of 0.</p>
  
  <p>Then I create 2 threads and tell the first thread to fill elements 0 to 49 with numbers, then tell thread 2 to fill elements 50 to 99 with numbers. Can this be done? Otherwise, what's the best way of achieving this?</p>
  
  <p>Thanks</p>