Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int32 FBullCowGame::GetHiddenWordLength() const
- {
- return MyHiddenWord.length;
- }
- // This is my original function (its in a class(public member))
- int32 FBullCowGame::GetHiddenWordLength() const
- {
- int32 i = MyHiddenWord.length;
- return i;
- }
- //Then I tried that there were still 2 errors
- int32 GetHiddenWordLength() const;
- // This is in another file (the .h one) and this is the decleration of the function.
- FString MyHiddenWord;
- // This is in the private section of the class (I tried moving it to public
- // but it didn't help) and that is the declaration of the string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement