You're going to have to install the Visual C++ 2015 runtime environment and possibly allow Windows to also install a particular update (KB2999226) if it still doesn't work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello All,
i just now tried installing CPPcheck but am not able to invoke due to the error
"The program can't start as MSVCP140.dll is missing......."
Please let me know how to resolve this
This is something we ran into a while back:
https://sourceforge.net/p/cppcheck/discussion/general/thread/08f104b0/
You're going to have to install the Visual C++ 2015 runtime environment and possibly allow Windows to also install a particular update (KB2999226) if it still doesn't work.