Learning Unreal Engine C++ | Section 2 Segment 14 | What is main()?

Per the directions of the video training course I am posting my guess on what is main().

I didn’t actually cheat and look at google nor do I know anything about writing code at all so hopefully I don’t make THAT much of a fool of myself. Future self when you read this, you thought for a moment and gave it your best - don’t be embarrassed!

Okay - I would guess that main() is a command (function?) that initiates the main - eh - thread or code of the “game”. I would guess that certain variables are defined before this so that way the code knows what it is in reference to and that the main() is the part that brings it all together.

Okay! Training may now continue! Also - hello other coders and programmers!

Privacy & Terms