Unreal wont compile

For some reason every time I press compile, it fails to compile and gives me this “C:\C++ course\Unreal Engine C++\Section 3 bull and cow\Intermediate\Build\Win64\UE4Editor\Inc\BullCowGame\Cartridge.generated.h(86) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int” then after I press it and takes me to a “Cartridge.generated.h” and I don’t know how to fix it.

What lecture is this for?

This happened after lesson 58. The C++ Dot Operator

I am redoing the hole code again to see where I made the problem

Well if you stil have problems it would be helpful if you showed your code.