Hey Guys im looking to remove vowels, im having trouble trying to remove them, any tip or help i would appreciate it thanks.
void RemoveVowels(char *str)
{
int x =0;
int i = 0;
int lenght = strlen(str);
for(i=0;i=lenght-1;i++)
{
if (str[i]=='a' || str[i]=='e' || str[i]=='i' || str[i]=='o' || str[i]=='u' || str[i]=='A' || str[i]=='E' || str[i]=='I' || str[i]=='O' || str[i]=='U') {
str[i]=' ';
}
}
}