Code breaking! Help me pls!

Hi i am trying to start coding But my code breakes… I create an actor class and when i try to make a simple code like:

GetOwner->GetName();
But I can’t so I did some search and I needed to add gameframework/actor.h

I did that then the other things breaks it… it’s frustrating.

That was so simple at 4.15 but in 4.16 I don’t get anything to work

Post your errors from the compiler, otherwise we can’t help you.