For WinForms with C++, see : Create C++ Windows Forms application in Visual Studio 2017
It works with VS 2019 too, with Prerequisites from Compile a C++/CLI Program that Targets the CLR in Visual Studio
For GUI with standard C++, use the generated application from the Win32 Wizard (or Walkthrough: Create a traditional Windows Desktop application (C++)) and add controls like "Edit", "Button", ...etc with CreateWindow(Ex)
or use MFC