In the 2nd section of the Unreal Course, a challenge asked of me is to describe what I think main() function means. Well, I have no previous C++ knowledge, so I am just guessing.
If you can, explain this function to me if I am right or wrong.
The main() function means what will be displayed to the user, right?
Kind of. Main() is the initial entry point into your application and all c++ apps have one. If you think from a high level how does the computer know what to run when you open a program if you everyone could name that function something unique it wouldn’t. So we all use main() and then the computer knows where to start.
But it may or may not display anything. Just depends on the program.