5
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
2 |
<html lang="en">
|
|
3 |
|
|
4 |
<head>
|
|
5 |
<meta http-equiv="Content-Language" content="en-us">
|
|
6 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7 |
<title>Converting a C or C++ nature for a project</title>
|
|
8 |
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
9 |
</head>
|
|
10 |
|
|
11 |
<body>
|
|
12 |
|
|
13 |
<h1>Converting a C or C++ nature for a project</h1>
|
|
14 |
|
|
15 |
<p>You can assign a C nature to a C++ file or vice versa.</p>
|
|
16 |
|
|
17 |
<p>To assign a C or C++ nature to a project</p>
|
|
18 |
|
|
19 |
<ol>
|
|
20 |
<li>Click <b>File > New > Other</b>.<br>
|
|
21 |
<img src="../images/new_proj_convert.png" alt="New Project window"></li>
|
|
22 |
<li>Click <b>C</b> or <b>C++</b>.</li>
|
|
23 |
<li>Click <b>Convert to C/C++ Make Project</b>.</li>
|
|
24 |
<li>Click <b>Next</b>.</li>
|
|
25 |
<li>In the Candidates for conversion list, select the projects to convert.</li>
|
|
26 |
<li>In the Convert to C or C++ box, click <b>C Project</b> or <b>C++ Project</b>.</li>
|
|
27 |
<li>Click <b>Finish</b>. </li>
|
|
28 |
</ol>
|
|
29 |
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
|
30 |
<br>
|
|
31 |
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
|
|
32 |
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a>
|
|
33 |
</p>
|
|
34 |
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
|
35 |
<br><a href="cdt_o_write_code.htm">Writing code</a></p>
|
|
36 |
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
37 |
<br>
|
|
38 |
<a href="../reference/cdt_o_proj_prop_pages.htm">Project properties</a></p>
|
|
39 |
|
|
40 |
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
|
41 |
|
|
42 |
</body>
|
|
43 |
|
|
44 |
</html> |