| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| <html lang="en"> |
| |
| <head> |
| <meta http-equiv="Content-Language" content="en-us"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>Converting a C or C++ nature for a project</title> |
| <link rel="stylesheet" type="text/css" href="../help.css"> |
| </head> |
| |
| <body> |
| |
| <div role="main"><h1>Converting a C or C++ nature for a project</h1> |
| |
| <p>Use the <strong>Convert to a C/C++ Project</strong> wizard to assign a C nature to a C++ project or vice versa.</p> |
| |
| <p>To assign a C or C++ nature to a project</p> |
| |
| <ol> |
| <li>Click <strong>File > New > Other</strong>.<br> |
| <img src="../images/new_proj_convert.png" alt="New Project window"></li> |
| <li>Click <strong>C</strong> or <strong>C++</strong>.</li> |
| <li>Click <strong>Convert to C/C++ Make Project</strong>.</li> |
| <li>Click <strong>Next</strong>.<br> |
| <img src="../images/new_proj_convert_candidate.png" alt="Convert C/C++ Project window"></li> |
| <li>In the <strong>Candidates for conversion</strong> list, select the projects to convert.</li> |
| <li>In the <strong>Convert to C or C++</strong> group, click <strong>C Project</strong> or <strong>C++ Project</strong>.</li> |
| <li>In the <strong>Project options</strong> group, you can specify the <strong>Project Type</strong> and <strong>Toolchain</strong> if the <strong>Specify project type</strong> option is enabled.</li> |
| <li>Click <strong>Finish</strong>. </li> |
| </ol> |
| <p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> |
| <br> |
| <a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br> |
| <a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a> |
| </p> |
| <p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21"> |
| <br><a href="cdt_o_write_code.htm">Writing code</a></p> |
| <p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> |
| <br> |
| <a href="../reference/cdt_o_proj_prop_pages.htm">Project properties</a></p> |
| <hr > |
| <img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > |
| |
| </div></body> |
| |
| </html> |