core/com.nokia.carbide.cpp.compiler.doc.user/html/c_compiler/c_header_files.htm
author timkelly
Thu, 10 Dec 2009 13:45:47 -0600
branchRCL_2_4
changeset 671 80524b72f957
parent 0 fb279309251b
child 1641 2b3996fc09a1
permissions -rw-r--r--
Add S60 5.2 support.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Precompiled Header Files</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h3>Header Files</h3>
<p>(ISO C, &sect;6.10.2) The Carbide C preprocessor lets you nest up to 256 levels of <span class="code">#include</span> directives.</p>
<p>You can use full path names in <span class="code">#include</span> directives:</p>

<table width="72%"  border="0" cellpadding="2" cellspacing="0">
  <tr>
    <th width="22%" scope="col">System</th>
    <th width="78%" scope="col">Directive</th>
  </tr>
  <tr>
    <td>Windows</td>
    <td class="code">#include &quot;c:\HD\Tools\my headers\macros.h&quot;</td>
  </tr>
  <tr>
    <td>UNIX</td>
    <td class="code">#include &quot;/HD/Tools/my headers/macros.h&quot;</td>
  </tr>
</table>
<p>The Carbide IDE lets you specify where the compiler looks for <span class="code">#include</span> files through the Access Paths and Source Tree settings panels.</p>
<p>See also <a href="c_prefix_files.htm">Prefix Files</a>.</p>
<p class="note"><strong>TIP</strong> If you are running the Carbide C compiler from the command line, you can specify where to find <span class="code">#include</span> files with a command-line setting. For more information, see &ldquo;Command-Line Tools&rdquo;.<br />
</p>
<div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>


</body>
</html>