it’s been ages since i last wrote any kind of code… but, i think it is some kind of pre game information that is essential to the code to set the parameters for the game/code to run, in this particular case from where the other codes are being puled from, in other cases may be configuration for the machine… well it’s gueswork and shiberish but that’s the challenge
I’ve been coding as a hobby for many years, and when people ask me about Main() I do struggle to explain it. But here is how I would explain it…
The main() function acts as the launch (or entry) point for our Unreal C++ program. The engine will start by invoking Main() and then close when it reaches the end of Main().
So everything in our game loop occurs before the end of the main function and when our program reaches the end of main, it will stop.
1 Like