Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-6822C91A-8D67-4ADD-B74E-A65151F8DB40
Visible to Intel only — GUID: GUID-6822C91A-8D67-4ADD-B74E-A65151F8DB40
Create 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++/C++ project using Microsoft Visual Studio:
For a C/C++ project:
- Select File > New > Project.
- In the left pane, expand Visual C++ and select Windows Desktop.
- In the right pane, select Windows Console Application.
- Accept or specify a project name in the Name field. For this example, use hello32 as the project name.
- Accept or specify the Location for the project directory. Click OK.
For a DPC++ project:
- Select File > New > Project.
- In the left pane, expand DPC++ and select Console Application.
- In the right pane, select DPC++ Console Application.
- Accept or specify a project name in the Name field. For this example, use hello_dpcpp as the project name.
- Accept or specify the Location for the project directory. Click OK.
The hello32 (for C++) or hello_dpcpp (for DPC++) project assumes focus in the Solution Explorer view. The default Microsoft Visual Studio solution is also named hello32 (for C++) or hello_dpcpp (for DPC++).