title: How do I put two increment statements in a C++ 'for' loop?
body: <p>I would like to increment two variables in a <code>for</code>-loop condition instead of one.</p>
  
  <p>So something like:</p>
  
  <pre><code>for (int i = 0; i != 5; ++i and ++j) 
      do_something(i, j);
  </code></pre>
  
  <p>What is the syntax for this?</p>