36ee1e | 2015-10-12 | Pontus Östlund | | <!doctype html>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <html>
<head>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <meta content="width=device-width, initial-scale=1" name="viewport">
|
7e5ead | 2016-01-20 | Pontus Östlund | | <meta charset="utf-8">
|
c0c2c8 | 2016-11-14 | Pontus Östlund | | <title>#include - Pike Reference Manual</title>
|
078087 | 2016-10-04 | Pontus Östlund | | |
36ee1e | 2015-10-12 | Pontus Östlund | | <link rel='stylesheet' href='../../style.css'>
<script src='../../site.js'></script>
|
078087 | 2016-10-04 | Pontus Östlund | | <script src='../../constants.js'></script>
<script>PikeDoc.NO_DYNAMIC = true;</script>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <style type='text/css'>
svg line { stroke:#343434; stroke-width:2; }
svg text { fill:#343434; }
svg a { fill:#0768b2; text-decoration: underline; }
</style>
</head>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <body>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <header>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div class="header">
|
0e3f09 | 2016-04-19 | Henrik Grubbström (Grubba) | | <div id="version"><strong data-id="version"></strong></div>
|
ed0b3d | 2016-12-10 | Martin Nilsson | | <button id="burger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</button> |
7e5ead | 2016-01-20 | Pontus Östlund | | <h1>
|
0e3f09 | 2016-04-19 | Henrik Grubbström (Grubba) | | <a href="http://pike.lysator.liu.se/" class="logo">
|
7e5ead | 2016-01-20 | Pontus Östlund | | <span>Pike programming language</span>
</a>
</h1>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
</header>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div id="page">
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <div class="navbar">
|
36ee1e | 2015-10-12 | Pontus Östlund | | <nav>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <div class="inner" id="navbar">
|
36ee1e | 2015-10-12 | Pontus Östlund | | <a href='../../index.html'><b class='top head'>Top</b></a>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <a href='../../ex/cpp_3A_3A.html'><b class='head'>cpp::</b></a>
<script></script>
<noscript>
<div class='sidebar'>
<a href='../../ex/cpp_3A_3A/index.html'><b>Symbol index</b></a><br />
</div>
</noscript>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </div>
</nav>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div class="content">
<div class="navbox">
<nav>
<div class="sidebar">
<a href="../../ex/cpp_3A_3A/_23ifndef.html" class="prev"><span>➤</span> #ifndef</a>
<a href="../../ex/cpp_3A_3A/_23line.html" class="next">#line <span>➤</span></a>
</div>
</nav>
</div>
<div class="contentbox">
<article>
<h1>Directive #include</h1>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | |
<hr />
<dl class='group--doc'>
<dt class='head--type'><span class='homogen--type'>Directive</span>
<span class='homogen--name'><b>#include</b></span>
</dt>
<dd><p><code class='directive'>#include</code></p></dd>
<dt class='head--doc'>Description</dt>
<dd class='body--doc'><p><a class='ms reference' href='../cpp_3A_3A.html'>#include</a> is used to insert the contents of another file into
the processed file at the place of the include directive.</p>
<p> Files can be referenced either by absolute or relative path from the
source file, or searched for in the include paths.</p>
<p> To include a file with absolute or relative path, use double quotes,
e.g. <tt>#include "constants.pike"</tt> or <tt>#include "../debug.h"</tt>.</p>
<p> To include from the include paths, use less than and greater than,
e.g. <tt>#include <profiling.h></tt>.</p>
<p> It is also possible to include a file whose path is defined in a
preprocessor macro, e.g. <tt>#include USER_SETTINGS</tt>.</p>
</dd></dl>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </article>
</div>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
</div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <footer>
|
078087 | 2016-10-04 | Pontus Östlund | | <div id="build-date">Extracted from <strong data-id="version"></strong> as of <strong data-id="date" data-timestamp=""></strong>.</div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </footer>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <script>PikeDoc.current = {"link":"ex/cpp_3A_3A/_23include.html","name":"#include"};</script>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <script src='../../ex/cpp_3A_3A/index.js'></script>
<script src='../../ex/cpp_3A_3A/load_index.js'></script>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <script>
// Tell PikeDoc that next actions are from loaded scripts
PikeDoc.isInline = false;
</script>
</body>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </html>
|