title: Enumeration Without Loop Iterator
body: <p>In ruby, I have seen the following.</p>
  
  <pre><code>10.times { 
      # do this block 10 times
  }
  </code></pre>
  
  <p>With this, (as far as I know, which is not much relative to ruby) there is no loop iterator. In C based languages, the closest replica I can come up with is a simple for loop.</p>
  
  <pre><code>for (int i = 0; i &lt; 10; i++) {
      // do this block 10 times
  }
  </code></pre>
  
  <p>But this utilizes the loop iterator, <code>i</code>. Is there any way in C based languages (including those listed in the tags) to execute a block of code a multiple number of times without the use of an iterator?<br>
  For example: If I wanted to execute a block a certain number of times, but did not care which iteration I was on. </p>