Place mesh at random place using c++

Hello everyone.
I know this question was posted here already, but I am completely new to the engine and technology, so I am still experiencing difficulties with placing actors on the map randomly. I want to start with the cube first and I’m scared to touch blueprints at this stage. Which files in the project should I modify and how?
Thanks a lot in advance.

Hello ale322,

I would suggest following this tutorial:

http://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1gYup-gvJtMsgJqnEB_dGiM4/

Part of the tutorial includes the functionality you’re looking for and it should help you get a general grasp of how Unreal interfaces with C++ classes.

Thank you,
the tutorial helped me :slight_smile: