Create a New Project
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:
Exact steps may vary depending on the version of Microsoft Visual Studio in use.
This content is specific to C++; it does not apply to
DPC++
.- Select.
- In the left pane, expandVisual C++and selectWindows Desktop.
- In the right pane, selectWindows Console Application.
- Accept or specify a project name in theNamefield. For this example, usehello32as the project name.
- Accept or specify the Location for the project directory. ClickOK.
This content is specific to
DPC++
.- Select.
- In the left pane, expandDPC++and selectConsole Application.
- In the right pane, selectDPC++ Console Application.
- Accept or specify a project name in theNamefield. For this example, usehello_dpcppas the project name.
- Accept or specify the Location for the project directory. ClickOK.
The
hello32
(for C++) or
project assumes focus in the
hello_dpcpp
(for DPC++)Solution Explorer
view. The default Microsoft Visual Studio* solution is also named
hello32
(for C++) or
.
hello_dpcpp
(for DPC++)