peogram converts vowels..

This is a discussion on peogram converts vowels.. within the C++ Programming forums, part of the General Programming Boards category; I need to write a program that converts vowels to "*" can you give me some tips about it....

So one way would be to set up another character array containg the vowels. Outer loop (i=0; i<strlen(string); i++) inner loop (j=0; j<5; j++) and test string[i] against vowels[j] if there is a match string[i] = '*'.