I think is an overall funcion that sets the difficulty level after receiving the input from the player?
1 Like
In this context you are probably right. However, that’s not what the main() function really does.
It’s the first function that is executed in a C++ application. So, basically it is responsible for running all things within the application, be it other functions or the code within itself.