Question 1:
Error when running C++ program: "MSVCP140D.dll is missing from your computer, try reinstalling the program to fix this problem"
reason:
The default configuration used when installing visual studio, without the Windows SDK installed.
Solution:
Restart the installer and install the windows sdk in the modification options, the specific path is as follows
Modify - "Select Features -" Windows and Web Development - "General Windows Application Development Tools - "windows 10 sdk
Precautions:
Carefully download a single dll, even if this dll is repaired, there will be other dll missing problems.