How to spawn actor in C++? Been trying for 9 hours now

I am totally new to UE4 and C++. I really would like to know where to put this. I just want to create several actors when the game begins. Is there a C++ file which is called at first? No infos in the internet, I am searching for 3 days now.