Hey,
At this point in the course I dont believe we’ve learned how to convert or cast one type to another, but I’m having an issue when trying to implement GetHiddenWordLength.
It seems that MyHiddenWord.length() returns a value of type unsigned long, but we’re wanting to use it as an int32. I did some reading up on converting between the two and it seems that this works: return (int32)MyHiddenWord.length(); but I wasn’t sure if that was the expected implementation
thanks for the fast response. I was re-reading my sentence and maybe the following explanation with my own words is more clear:
When talking about int32 we are talking about using int32 = int;. So basically, this means that unsigned int = int, and this is NOT possible. Therefore, you need to convert.