Creating a New Project

Creating a New Project

When you create a project, Microsoft Visual Studio* automatically creates a corresponding solution to contain it. To create a new Intel® oneAPI DPC++ project using Microsoft Visual Studio:

  1. Select File > New > Project.
  2. In the left pane, expand DPC++ and select Console Application.
  3. In the right pane, select DPC++ Console Application.
  4. Accept or specify a project name in the Name field. For this example, use hello_dpcpp as the project name.
  5. Accept or specify the Location for the project directory. Click OK.

Note

Exact steps may vary depending on the version of Microsoft Visual Studio in use.
The hello_dpcpp project assumes focus in the Solution Explorer view. The default Microsoft Visual Studio* solution is also named hello_dpcpp.