title: Adding spaces and new lines in printing the content of vector
body: <p>A have a small question. How can I add the spaces and new line signs, so that the effect looks like that? </p>
  
  <pre><code>ACCT
   CCTG
    CTGA
  </code></pre>
  
  <p>etc.</p>
  
  <pre><code>vector&lt;string&gt;::reverse_iterator it;
     for( it=vec.rbegin(); it!=vec.rend(); ++it )
     {
  
        cout&lt;&lt;*it;
        cout&lt;&lt;endl;
        cout&lt;&lt;" ";
  
     }
  </code></pre>
  
  <p>I've tried this way, but the shift is only after first element, like that:</p>
  
  <pre><code>ACCT
   CCTG
  CTGA
  </code></pre>
  
  <p>Thanks a lot for help!</p>