The goal of my project is to define a character array with a word, for example "Christmas". I want the output to create a vector of strings where the first one is Christmas, the next one Christma, then Chri, so basically removing the letters until a vowel is read. My program works for just removing one letter at a time but I am having trouble doing the if statement for finding the vowels in the string. Any help would be fantastic, thanks!
using namespace std;