Error C2144: Syntax error: 'void' should be preceded by ';'

Probably noob mistake, and I’m probably blind, but 1 hour without results I might aswell just ask about what the deal here is. Pretty sure I’ve basically copy pasted everything he does in the course, so really just wanna understand what’s going on here.




Your Words variable in the header is missing a semicolon.

I’m sorry, where exactly? I’ve probably tried to add semicolons to all the wrong places now, just keep getting errors

TArray<FString> Words
{
    // ...
}; // <--
2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms