Creating a Widget in just C++

Hi thanks for the information I tried creating the c++ class deriving from “UserWidget” as you recommended but it generated errors when I tried compiling and the class will not show up in my content browser till I compile it but when I do try and compile it same errors pop up again. Any idea why I might be getting these. I also ended up creating two c++ classes under “UserWidget” and they are both listed here.

Errors: