title: Assign to an ID more elements
body: <p>I'm new in C++. I need to assign iteratively to a progressive ID (int), 3 coordinates (int).
  For example if I have ID=3, I assign to it coordinates={2,4,6}. 
  Is there a structure in C++ to do It? </p>
  
  <p>Thanks</p>