When I try to compile after writing down the code as shown in the screenshots, I got below error in UE compiler log. Any ideas what I’m doing wrong?
UE Message Log
/Users/cetu/Documents/FiveBullCowGame 4.26/Source/BullCowGame/BullCowCartridge.cpp:46:25: error: out-of-line declaration of a member must be a definition [-Wout-of-line-declaration]
void UBullCowCartridge::ProcessGuess(FString Guess);
~~~~~~~~~~~~~~~~~~~^
/Users/cetu/Documents/FiveBullCowGame 4.26/Source/BullCowGame/BullCowCartridge.cpp:47:1: error: expected unqualified-id
{
^
2 errors generated.