Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Create a New Project

The following steps show how to invoke the compiler from within Microsoft Visual Studio*. Exact steps may vary depending on the version of Microsoft Visual Studio in use.

For a C/C++ project:

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

For a DPC++ project:

  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.