I just started working with C++ and I started a new C++ console app project in Visual Studio. Right from the start I am getting the warning in the post subject about main possibly throwing an exception. At this point, main is nothing more than a call to std::cout to print "Hello world!"
I understand what the warning is trying to tell me but not sure how to get rid of it (without turning it off). Am I missing something in my main that is best practice in C++?