mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Adding #include directivess</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Adding #include directives</h1>
|
|
|
|
<p>You can quickly add an <span class="command">#include</span>
|
|
|
|
directive for any documented function:
|
|
</p>
|
|
|
|
<ol>
|
|
<li>In the <span class="guilabel">C/C++</span> editor, select the function name
|
|
(excluding the parentheses or any leading tabs or spaces).</li>
|
|
<li>Right-click and choose <span class="guilabel">Add Include</span>.
|
|
<p>The <span class="command">#include</span> statement
|
|
for the selected function name is added to the top of the file,
|
|
if it is not already there.
|
|
</p>
|
|
|
|
</li>
|
|
</ol>
|
|
|
|
<p>
|
|
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement" BORDER=0 width="324" height="14"><br>
|
|
<img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
|
|
</p>
|
|
</body>
|
|
|
|
</html>
|