After you have your vector of strings, you can examine each string individually and count the vowels and consonants. Hint: there are fewer vowels than consonants.
Please edit your post and make sure your code is [code]between code tags[/code] so that it has line numbers and syntax highlighting, as well a proper indentation.
You don't need to know the consonants if you know the vowels.