If you are wanting to test drive VS2019 I really, really, REALLY recommend when creating a new project you start with an empty project. That sets all the settings for a console (pure C++) app. You can then add new source/header files or add existing files as needed to the project.
I seriously suggest "Do not use the precompiled headers option." That can create problems when building after editing source files. Forcing you to do a full rebuild.
I doubt you will be creating projects that can take hours/days to build. Precompiled headers is one of the few things that can save time and effort with HUGE projects.
When creating a Win32 SDK app, a GUI app, use the Windows Wizard, still creating an empty app.
Just dumping errors without any accompanying code, even if minimal rewritten code that still give the errors, is useless for anyone wanting to help you.
The best anyone can say is "you tried to compile a console app as if it were a Win32 SKD app." Different settings for different types of apps.