title: Looping through each element of a vector
body: <p>so let's say i have a vector, wich contains 4 elemens [string elements]. I need to loop through the vector first , then through each element , loop through an array of chars [vowels]
  and to count how many vowels does that word contain.</p>
  
  <pre><code>    for(int i = 0; i &lt; b.size(); i++) 
      {
        for(int j = 0; j &lt; b[i].size(); j++) 
         {
           for(int v = 0 ; v &lt; sizeof( vowels ) / sizeof( vowels[0] ); v++)
            if(//blabla)
         }
      }
  </code></pre>
  
  <p>so my question is, how can i loop through each word , i mean <code>b[i][j]</code> is the right way to do that?</p>
  
  <p>if yes, this form , will work great? :</p>
  
  <pre><code>if(b[i][j] == vowels[v]) {
  //blabla
  }
  </code></pre>
  
  <p>thanks.</p>