Main Function

Hello!

I am very new to coding. I think the main() function is where the meat and gravy of the code is. There may be elements of code outside of the main() function that are referenced within the main() function but the main part of the ‘program’ is within this part.

1 Like

Welcome to the course and hope you enjoy it.

You pretty much nailed it on the head. The main() function is the first function called by a C++ application and anything else can be called from within main.

Privacy & Terms