Setting Up Camera and Actor

Guys I am really lost.
I have been trying for how to implement a basic camera and an actor in the scene. I try to do it in pure C++ without any blueprint but I cant. The most stressfull is to extract the camera from the actor :S I want the cam as itself only in the scene.

Here is what I want:

  • Create a pawn which I move it up/down with ‘w’ and ‘s’ keys.
  • Create a camera which follows the pawn but not attached to it.

I just want a pure c++ solution for this. You do not even write any code actually. You are welcome of course if you wish to. However, I really want a list to do it. Seriously, I am lost in those playercontroller, gamemode, defaultpawns and so on. Thank you.