Whale talk project execute issue

I’m trying to do the whale talk project and I have made it look like the examples but it will not execute to say anything. What is wrong or is it even supposed to output something?

#include
#include
#include

int main(){

std::string input = “turpentine and turtles”;
std::vector vowels (‘a’, ‘e’, ‘i’, ‘o’, ‘u’);
std::vector result;
for (int i = 0; i < input.size(); i++){
for (int j = 0; j < vowels.size(); j++){
if (input[i] == vowels[j]){
result.push_back(input[i]);

if (input[i] == ‘u’ || input[i] == ‘e’){
result.push_back(input[i]);
}
}
}
}

for (int k = 0; k < result.size(); k++){
std::cout << result[k];
}
std::cout << “\n”;
return 0;
}

You have

std::vector vowels ('a', 'e', 'i', 'o', 'u');
std::vector result;

but I think that’s the wrong constructor for vectors for the first one, and that you need the template <char> so that those are vectors of chars.

Declaring the vectors using a collection { }, with the <char> :

std::vector<char> vowels = {'a', 'e', 'i', 'o', 'u'};
std::vector<char> result;