To make Visual Studio Code the default program for a file type you first have to locate the exe. In Visual Studio 2017 the default folder location can be set under.
How to update include path in visual studio code h'(dependency of iostream) A new setting will be added that allows you specify the system include path separate from the folder's include path.