Hello everyone, this is my first post here! Eager to perhaps help some people out as well as get help myself.
I'm confused with this problem. I have a program that generates 8 random chars from two arrays, one being an array of vowels the other being an array of consonants (exactly like countdown)
It then saves the generated chars in a separate array. I was wondering if it was possible to use these chars to search through an array of strings and remove any string that didn't contain some if not all chars.
If it's confusing let me know and I'll try and elaborate.
So far I have this;
I have created the part of the program that generates the chars, that part works perfectly and the chars can be printed or handled in any other way.
This is the part where I am converting a dictionary into an array and printing it. This was just testing it, I don't need to print it.
So if my coding is right. That saves each line as it comes in an array, position equal to the integer count with increases every time the while != null runs.
The thing I am having major issues with is searching the array of words for things that match the chars.
Thank you if anyone can help, if not, thanks anyway!