How can slove the errors in the code
<p>Here is a code to count number of vowels but I have erreor that tell me the strlength is not declared .</p>

<pre><code>#include&lt;iostream&gt; 
#include&lt;string&gt; 
using namespace std; 
int main() { 
   int vow_cnt=0; 
   char name[15]; 
   cout&lt;&lt;"Enter a name"&lt;&lt;endl; 
   cin&gt;&gt;name; 
   for(int i=0;i&lt;strlength(name);i++) 
   { 
      if(name[i] == 'a' || name[i] == 'e'||name[i] == 'i'||name[i] == 'o'||name[i] == 'u') 
      { vow_cnt++; } 
      cout&lt;&lt;"Total Vowels in the string are=&gt;"&lt;&lt;vow_cnt&lt;&lt;endl; 
   } 
}
</code></pre>
