At 14:26 when Michael was removing the magic numbers using %i, a pointer (*) wasn’t needed for HiddenWord.Len(). Can someone please explain to me why we need a pointer for string (%s with *HiddenWord) but not for integers (%i with HiddenWord.Len())? Thanks.
Another error I have encountered was when I tried to tackle the challenge. I got stuck with the problem I mentioned and tried the following code, which returned a ridiculously large negative number on the word length. Would be great to find out why this happens.
PrintLine(FString::Printf(TEXT(“Try to guess the %i letter word”), *HiddenWord, HiddenWord.Len()));
p.s. I have been able to follow the lessons so far but this lesson is by far the most confusing one. I simply don’t feel like I have grasp the concept where I can manipulate this code in my own ways. Right now, I am just copying whatever Michael is doing and that’s about it.