Check out a series of guides from Jayanam on working with Unreal Engine 4 and C++.
This is the first part of an Unreal Engine 4 and C++ tutorial. In this one I will explain how to get started with Unreal Engine 4 and Visual Studio 2017 and I will show you some basic programming tasks like logging. I will use an actor base class and add it to the level, then I explain datatypes of unreal engine like FString and macros like UE_LOG and TEXT.
In this part of the Unreal Engine C++ tutorial series I show how to add a USceneComponent with C++ to your actor to give it a appearance in the UE4 editor.
In this part of the Unreal Engine 4 C++ tutorial I show how to change the location of meshes and use properties to let the player interact with our actor class.
In this Unreal Engine 4 tutorial I show you how to work with C++ and Blueprints in combination. I explain how to expose properties and methods defined in C++ to Blueprints using the macros UPROPERTY and UFUNCTION.
This is the next par of the Unreal Engine 4 C++ tutorial in which I show and explain how to use Arrays, the TArray of UE4.