“I could set it to I, but I want to set it to something else like Index.” - Is this just the name assigned by him? Or is this something more I missed?
So I am also having an issue with the use of ‘Word’ here.
bool UBullCowCartridge::IsIsogram(FString Word) const
{
for (int32 Index = 0; Index < Word.Len(); Index++)
{
PrintLine(TEXT("%c"), Word[Index]);
}
How is Word getting the ‘Guess’? No where have we coded this, what am I missing?
Also, after this he initialises ’ IsIsogram(HiddenWord); ’
within ’ SetupGame ’
It simply takes place of ‘Word’ in our code and runs? How does it know to do that? Since I don’t understand I feel I have no hope of writing this code myself.
Thanks