Converting a C or C++ nature for a project

You can assign a C nature to a C++ file or vice versa.

To assign a C or C++ nature to a project

  1. Click File > New > Other.
    New Project window
  2. Click C or C++.
  3. Click Convert to C/C++ Make Project.
  4. Click Next.
  5. In the Candidates for conversion list, select the projects to convert.
  6. In the Convert to C or C++ box, click C Project or C++ Project.
  7. Click Finish

Related concepts
CDT Projects
Project file views

Related tasks
Writing code

Related reference
Project properties

IBM Copyright Statement