In this videos we take a look at a small example showing how to move code made in blueprints over to C++. The goal of this tutorial is not to teach c++ but rather show the process involved in moving logic from blueprints over to c++
We create an actor which spawns explosions at random locations around its center. We find a bug in the code and end the video on showing how we can build logic that helps us debug the error.
https://dev.epicgames.com/community/learning/tutorials/bq7v/unreal-engine-how-to-move-blueprint-logic-to-c-code