My GetBullsCows function (right after making it use a struct) now has an error saying it is incompatible with its declaration in the header file. What I have and what was on the screen look identical, but I might just be dumb.
Here is the error:
{
"resource": "/i:/Unreal Projects/BullCowGame_starter_kit/Source/BullCowGame/BullCowCartridge.cpp",
"owner": "C/C++",
"severity": 8,
"message": "declaration is incompatible with \"<error-type> UBullCowCartridge::GetBullsCows(const FString &Guess) const\" (declared at line 22 of \"I:\\Unreal Projects\\BullCowGame_starter_kit\\Source\\BullCowGame\\BullCowCartridge.h\")",
"startLineNumber": 121,
"startColumn": 34,
"endLineNumber": 121,
"endColumn": 46
}
You can’t ignore compilation errors. That is just an error VS Code is detecting i.e. what it thinks it’s an error. Actual errors would come up in the output of compilation.
I had not seen that mentioned in the course. If it is not, I think it should be, as having some errors be meaningful while others are not is very confusing to a beginner who can not check their own code with any confidence.