Creating a New Project

The following topic applies to Eclipse* for C/C++.

To create a new Eclipse* project:

  1. Select File > New > C Project. The C Project wizard opens.

  2. For Project name , enter hello_world. Deselect the Use default location to specify a directory for the new project.

  3. In the Project Type list, expand the Executable project type and select Hello World ANSI C Project.

  4. In the Toolchains list, select Intel(R) C++ Compiler XE.

    Note

    If multiple versions of the Intel® C++ Compiler are installed, they will appear in the project’s properties under C/C++ Build > Settings on the Intel Compiler Selection tab.

    Click Next.

  5. The Basic Settings page allows specifying template information, such as Author and Copyright notice , which will appear as a comment at the top of the generated source file. The Hello world greeting string to be displayed by the hello_world program and Source directory relative to the project where the generated source file will be created can also be specified on this page. After entering desired fields, click Next.

  6. The Select Configurations page allows specifying deployment platforms and configurations. By default, a Debug and Release configuration will be created for the selected toolchain. Select no (Deselect all), multiple, or all (Select all) configurations. To edit project properties, click the Advanced settings button. Click Finish to create the hello_world project.

    Note

    Configurations can be created after the project is created by selecting Project > Properties.

  7. If the view is not the C/C++ Development Perspective (default), an Open Associated Perspective dialog box opens. In the C/C++ Perspective , click Yes to proceed.

An entry for your hello_world project will appear in the Project Explorer view.

For more complete information about compiler optimizations, see our Optimization Notice.