1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-28 02:33:18 +02:00

From Dave Williams: Doc updates, added a few new files into the Concepts and Reference sections.

This commit is contained in:
David Daoust 2004-06-02 19:01:38 +00:00
parent 5a685e501f
commit 458a70dd54
226 changed files with 5930 additions and 315 deletions

View file

@ -33,4 +33,4 @@
</p>
</body>
</html>
</html>

View file

@ -0,0 +1,62 @@
<!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>Breakpoints</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Breakpoints</h1>
<p>A breakpoint suspends the execution of a thread at the location where the breakpoint is set.
To set a breakpoint, right-click in the frame on the left side of an editor beside
the line where you want the breakpoint, then choose <span class="guilabel">Add Breakpoint</span>.
</p>
<p>Once set, a breakpoint can be enabled and disabled by right-clicking on its icon or by
right-clicking on its description in the <b>Breakpoints</b> view.
</p>
<ul>
<li>When a breakpoint is enabled, it causes a thread to suspend whenever it is hit.
Enabled breakpoints are indicated with a blue
<img src="../images/icon_breakpoint_obj.gif" alt="enabled breakpoint" border="0"> circle.
Enabled breakpoints that are successfully installed
are indicated with a checkmark overlay.</li>
<li>When a breakpoint is disabled, it will not cause threads to suspend.
Disabled breakpoints are indicated with a white
<img src="../images/icon_breakpoint_disable.gif" alt="disabled breakpoint" border="0"> circle.<br>
<img border="0" src="../images/add_breakpoint.png" ALT="Editor view with cursor highlighting breakpoint" width="453" height="335">
</li>
</ul>
<p>Debugging breakpoints are displayed in the marker bar in the editor area
and in the <b>Breakpoints</b> view.
</p>
<p class="note"><span class="notetitle">Note: </span>Execution will also suspend
if <span class="guilabel">Stop at main() on startup</span> is enabled
on the <span class="guilabel">Launch Configuration</span> dialog.
To access the <span class="guilabel">Launch Configuration</span> dialog,
from the menu bar choose <span class="guilabel">Run > Debug</span>.
</p>
<hr>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_o_views.htm">Run menu</a><br>
<a href="../reference/cdt_o_views.htm">Breakpoints view</a>
</p>
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat STatement" BORDER=0 width="300" height="14"><br>
<img src="../images/ng03_04.gif" ALT="IBM STatement" BORDER=0 width="324" height="14">
</p>
</body>
</html>

View file

@ -2,32 +2,33 @@
<html lang="en">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Build overview</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CDT projects</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Build overview</h1>
<h1>Building C/C++ projects</h1>
<p>The CDT uses the same make utility and makefile used on the command line.
The CDT can generate makefiles automatically when you create a Managed Make C project
or a Managed Make C++ project. You have the option of creating a Standard Make C
project or a Standard Make C++ project and providing the makefile.</p>
The CDT can generate makefiles automatically when you create a Managed Make C project or a Managed Make C++ project.
You have the option of creating a Standard Make C project or a Standard Make C++ project and providing the makefile.</p>
<h2>Required utilities</h2>
<p>In order to build your project, you need to install and configure the following utilities:</p>
<p>You must install and configure the following utilities:</p>
<ul>
<li>build (such as make)</li>
<li>compile (such as gcc, for more information, see
<a href="http://gcc.gnu.org">http://gcc.gnu.org</a>)</li>
<li>Build (such as <tt>make</tt>).</li>
<li>Compile (such as gcc). For more information, see <a href="http://gcc.gnu.org">http://gcc.gnu.org</a>.</li>
<li>Debug (such as gdb). For more information, see <a href="http://sources.redhat.com/gdb/">http://sources.redhat.com/gdb/</a>.</li>
</ul>
<p>Cygwin contains these utilities for a Windows environment, while running the cygwin installation ensure <tt>gcc</tt> and <tt>make</tt> are selected, they are not installed by default.
For more information, see <a href="http://www.cygwin.com">http://www.cygwin.com</a>. Red Hat users, all you need to build your project is included in the Red Hat Linux installation.
For other operating systems please refer to your installation documentation.</p>
</p>
<p>To test if your compiler was installed correctly open a command prompt or terminal window and type <tt>g++</tt> or <tt>make</tt>.
An error message stating the command was not found or not recognized means that the utility is not installed or your path is not configured correctly.</p>
<p>To check your path at a command prompt and the appropriate path command (i.e. enter <tt>PATH</tt> for windows users or <tt>echo $PATH</tt> for linux users). Make sure that the path to your build utility is defined (example <tt>PATH=c:\cygwin\bin</tt>).<p>
<h2>Build terminology</h2>
<p>The CDT uses a number of terms to describe the scope of the build. </p>
@ -62,25 +63,107 @@ build.</p>
<p>For more information about the Tasks view, see <b>Workbench User Guide &gt; Reference &gt; User interface information &gt; Views and editors &gt; Tasks
view</b>.</p>
<h2>Build preferences</h2>
<h2>Getting a makefile</h2>
<h3>Build order</h3>
<p>You can either create a C project for which you supply the
<p>If certain projects must be built before others, you can set the build order.
If your project refers to another project, the CDT must built the other project first. </p>
<span class="filename">makefile</span>
or create a C project for which the CDT generates makefiles automatically.
</p>
<p>When you set the build order, the CDT does not rebuild projects that depend
on a project; you must rebuild all projects to ensure all changes are
propagated.</p>
<p>To create a new project, from the menu bar choose
<span class="guilabel">File > New > Project</span>.
In the dialog that appears:
</p>
<p>For more information on build order, see <b>Workbench User Guide &gt; Reference
&gt; Preference &gt; Build Order</b>.</p>
<ul>
<li>To create a project for which you supply the <span class="filename">makefile</span>,
select either
<span class="guilabel">Standard Make C project</span> or
<h3>Automatic save</h3>
<span class="guilabel">Standard Make C++ project</span>.
</li>
<li>To create a project for which the CDT supplies a basic
<span class="filename">makefile</span>, select either
<span class="guilabel">Managed Make C project</span> or
<span class="guilabel">Managed Make C++ project</span>.
</li>
</ul>
<p>The CDT will save all unsaved modified resources when you perform a manual
build. By default, this feature is disabled.</p>
<h2>Setting build preferences</h2>
<p>You can set build preferences in Eclipse:</p>
<dl>
<dt>Build order</dt>
<dd>If certain projects must be built before others,
you can set the <i>build order</i>.
If your project refers to another project, the CDT must build the other project first.
To set the build order, from the menu bar select
<span class="guilabel">Window &gt; Preferences &gt;
Build Order</span>.
<p>When you set the build order, the CDT does not rebuild projects
that depend
on a project; you must rebuild all projects to ensure all changes are
propagated.
</p>
</dd>
<dt>Automatic save</dt>
<dd>You can set the CDT to perform an <i>automatic save</i> of all modified resources
when you perform a manual build; from the menu bar, select
<span class="guilabel">Windows &gt; Preferences &gt; Workbench</span>.
By default, this feature is disabled.
</dd>
</dl>
<h2>Controlling the building of your project</h2>
<p>The C/C++ compiler that a project uses is controlled by the project's
<span class="guilabel">Properties</span> setting.
To view a project's properties, right-click on the project and select
<span class="guilabel">Properties</span>.
In the dialog that appears, the
<span class="guilabel">C/C++ Make Project</span> page enables you
to control a variety of settings, including:</p>
<dl>
<dt>Build Setting</dt>
<dd>Controls whether the compiler will <span class="guilabel">Stop On Error</span>
or <span class="guilabel">Keep Going On Error</span>.
Choosing <span class="guilabel">Keep Going On Error</span> will force the compiler to
attempt to build all referenced projects even if the current project has errors.
</dd>
<dt>Build Command</dt>
<dd>Controls which compiler is used.
By default the compiler is <span class="command">C Builder</span>
(<span class="command">gcc</span>).</dd>
<dt>Workbench Build Behavior</dt>
<dd>Controls the auto-build on save feature and what operations
are performed during a build and rebuild.</dd>
</dl>
<p>The <span class="guilabel">External Tools Builders</span> page
enables you to add, reorder, or remove external build tools.
</p>
<h2>Viewing build information</h2>
<p>Build-related information is displayed as follows:
</p>
<ul>
<li>The <span class="guilabel">C-Build</span> view displays the output of the make utility.</li>
<li>The <span class="guilabel">Tasks</span> view displays a list
of compiler errors and warnings related to your projects.
</li>
<li>Build actions display in the <span class="guilabel">Make Targets</span> view.</li>
</ul>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="cdt_c_projects.htm">CDT Projects</a><br>
@ -89,8 +172,10 @@ build. By default, this feature is disabled.</p>
<br>
<a href="../tasks/cdt_o_proj_prop.htm">Defining project properties</a><br>
<a href="../tasks/cdt_o_build_task.htm">Building</a></p>
<img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14"></p>
<p>
<img src="../images/rh03_04.gif" ALT="IBM 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>

View file

@ -11,6 +11,12 @@
<body>
<h1>Comments</h1>
<p>Comments are lines in a source file that have been marked to be ignored by the compiler.
Two styles of comments are supported by current C/C++ compilers:</p>
<ul>
<li><samp>/* text */</samp></li>
<li><samp>// text</samp></li>
</ul>
<h3>Comment</h3>
<p>You can quickly comment out one or more lies of code by inserting the leading
@ -35,11 +41,11 @@ Type <tt>com+Ctrl+Space</tt>, and the following code is entered at the cursor lo
* Window>Preferences>C>Templates.
*/
</pre>
To change the default comment click <b>Window > Preferences > C > Templates</b>. For more information see the
<a href="cdt_c_content_assist.htm">Content Assist</a> section.
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="cdt_c_content_assist.htm">Content Assist and code completion</a></p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
@ -50,7 +56,11 @@ Type <tt>com+Ctrl+Space</tt>, and the following code is entered at the cursor lo
<br>
<a href="../reference/cdt_o_ceditor_pref.htm">C/C++ editor, code templates and search
preferences</a></p>
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement" BORDER=0 width="300" height="14"><br>
<img src="../images/ng03_04.gif" ALT=" IBM Copyright Statement" BORDER=0 width="324" height="14">
</p>
</body>

View file

@ -0,0 +1,69 @@
<!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=iso-8859-1">
<title>C/C++ editor</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>C/C++ editor</h1>
<p>The CDT provides an editor that gives you specific support for editing C code.
This C editor is invoked automatically when you edit a
<b>.c</b> or <b>.cpp</b>
file.
</p>
<p>The C editor includes the following features:</p>
<ul>
<li>Syntax highlighting</li>
<li>Content/code assist</li>
<li>Code formatting</li>
<li>Integrated debugging features</li>
<li>A context-menu.</li>
</ul>
<p>You can control some of the operation of the C editor from the <b>Window &gt; Preferences &gt; C/C++ &gt; C/C++ Editor</b> preferences dialog.</p>
<h2>Content Assist</h2>
<p>
You invoke the C editor's Content Assist function by typing the first characters of a C statement, then pressing <b>Ctrl+Space</b>.
Eclipse proposes code templates based on the <b>.c</b> or <b>.cpp</b> file type.
</p>
<h2>The C/C++ editor context menu</h2>
<p>To access the C/C++ Editor context menu, right-click in a C/C++ editor.</p>
<p>The C/C++ Editor context menu contains an <b>Include</b> feature.
If you right-click on a function and choose <b>Add Include</b>,
the editor attempts to determine the header in which the function is prototyped
(this determination is done through a code-completion contributor extension).
If this is successful, the editor adds the appropriate
<b>#include</b> at the top of the file.</p>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br><a href="cdt_c_over_cdt.htm">CDT Overview</a>
</p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br><a href="../tasks/cdt_t_contentassist.htm">Using Content Assist</a>
</p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br><a href="../reference/cdt_u_editor_key_bind.htm">C/C++ editor key binding actions</a>
<br><a href="../reference/cdt_o_ceditor_pref.htm">C/C++ editor preferences</a>
<br><a href="../reference/cdt_u_outlineview.htm">Outline view for C/C++</a>
<br><a href="../reference/cdt_o_views.htm">Views and editors</a>
</p>
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement" BORDER=0 width="300" height="14"><br>
<img src="../images/ng03_04.gif" ALT=" IBM Copyright Statement" BORDER=0 width="324" height="14">
</p>
</body>
</html>

View file

@ -58,6 +58,8 @@ view.</p>
<p>For more information about the marker bar, see <b>Workbench User Guide &gt; Reference &gt; User interface
information &gt; Views and editors &gt; Editor area</b>.</p>
<h2>Filtering the Outline View</h2>
<p>You can filter the Outline view by choosing to display or hide the following
items:</p>

View file

@ -8,7 +8,7 @@
</head>
<body>
<h1>CDT overview</h1>
<h1>CDT Overview</h1>
<p>The C/C++ Development Toolkit (CDT) is a set of Eclipse plug-ins that provide
C and C++ extensions to the Eclipse workbench. For more information about
Eclipse, see <b>Workbench User Guide &gt; Concepts &gt; Workbench</b>.</p>
@ -27,32 +27,30 @@ utilities and interpret their responses, such as:</p>
<p>The CDT opens as the C/C++ perspective of the Eclipse workbench. The
C/C++ perspective consists of an editor and the following
views:</p>
<ul>
<li>The C/C++ Projects view lists all C/C++ projects.</li>
<li>The Navigator view lists all Eclipse projects.</li>
<li>The Tasks view lists items such as tasks, compiler warnings and errors.</li>
<li>The C-Build view displays the output from make.</li>
<li>The Properties view lists the properties of a file that has been selected in
the C/C++ Projects view or the Navigator view.</li>
<li>The Outline view lists file components.</li>
</ul>
<dl>
<dt>C/C++ Projects view</dt>
<dd>Lists all of your C/C++ projects.</dd>
<dt>Navigator view</dt>
<dd>Lists all files in your Eclipse <span class="filename">workspace</span>.</dd>
<dt>Tasks view</dt>
<dd>Lists things such as tasks, compiler warnings, and errors.</dd>
<dt>C-Build view</dt>
<dd>Displays the output from <span class="command">make</span>.</dd>
<dt>Properties view</dt>
<dd>Lists the properties of a file that has been selected in
the <span class="guilabel">C/C++ Projects</span> view or the
<span class="guilabel">Navigator</span> view.</dd>
<dt>Outline view</dt>
<dd>Lists file elements.</dd>
</dl>
<p>For more information, see <b>Workbench User Guide &gt; Concepts &gt; Perspectives</b>.</p>
<h3>Additional information</h3>
<p>Refer to <a href="http://www.eclipse.org/cdt/">http://www.eclipse.org/cdt/</a>
for additional information about the CDT project, including the following resources:</p>
<ul>
<li>&nbsp;CDT newsgroups: Ask questions on how to use the CDT.</li>
<li>&nbsp;User FAQ: View answers to the most common questions about using the
CDT.</li>
<li>&nbsp;Developer FAQ: View answers to the most common questions about
building and extending the CDT.</li>
<li>&nbsp;CDT community web: Learn about plug-ins and tools developed by and for the
CDT community.</li>
</ul>
<h3>CDT updates</h3>
<p>The <b>Install/Update</b> perspective provides information about your current
@ -62,6 +60,28 @@ Eclipse installation and provides the framework to manage your updates. For more
<p>To view a list of the updates available for the toolsets that you
installed, click <b>Help &gt; Software Updates &gt; New Updates</b>.</p>
<h3>Additional information</h3>
<p>For more information on the Eclipse CDT project,
refer to <a href="http://www.eclipse.org/cdt/">http://www.eclipse.org/cdt/</a>:
</p>
<ul>
<li><a href="news://www.eclipse.org/eclipse.tools.cdt" target="_top">CDT newsgroup</a>:
The place to ask questions about how to use the CDT.</li>
<li><a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/cdt-home/user/faq.html?cvsroot=Tools_Project">User
FAQ</a>: Provides answers to the most common questions about using the CDT.</li>
<li><a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/cdt-home/developer/docs.html?cvsroot=Tools_Project">Developer
Documentation</a>: Provides feature and design specifications for building and extending the CDT.</li>
<li><a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/cdt-home/community.html?cvsroot=Tools_Project">CDT
Community Webpage</a>: Showcases plugins and tools developed by and for the CDT Community.
If you have tools or plugins that you would like to submit to the CDT Community Page,
use the CDT Development Mailing List or the Eclipse Tools CDT newsgroup.</li>
</ul>
<h3>License</h3>
<p>The CDT is an open source project and is licensed under the <a href="http://www.eclipse.org/legal/cpl-v05.html">Common Public License</a>.
@ -70,10 +90,7 @@ installed, click <b>Help &gt; Software Updates &gt; New Updates</b>.</p>
<br>
<a href="../getting_started/cdt_w_existing_code.htm">Working with existing code</a><br>
<a href="cdt_c_whatsnew.htm">What's new</a></p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="../tasks/cdt_t_update_man.htm">Updating the CDT</a><br>
<a href="../tasks/cdt_o_proj_prop.htm">Defining project properties</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_o_views.htm">Views</a></p>

View file

@ -0,0 +1,108 @@
<!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=iso-8859-1">
<title>Perspectives available to C/C++ developers</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Perspectives available to C/C++ developers</h1>
<p>A perspective is a layout of <a href="cdt_c_views.htm">views</a> (development tools) in the Workbench window.
Each type of perspective is a combination of views, menus, and toolbars that enable you to perform a particular task.
For example, the C/C++ perspective has views that are organized to help you develop C/C++ programs;
the <b>Debug</b> perspective has views that enable you to debug those programs.
</p>
<div class="note">
<b>Changing Views:</b>
<ul>
<li>You can add views to a perspective. From the menu bar choose
<b>Window &gt; Show View &gt; Other</b>
and select a new view from the <b>Show View</b> dialog.
</li>
<li>To reset the current perspective to its original layout, from the menu bar choose
<b>Window &gt; Reset Perspective</b>.</li>
</ul>
</div>
<p>The C/C++ development tools contribute the following perspectives to the workbench:
</p>
<h3>C/C++ perspective views</h3>
<p>This perspective is tuned for working with C/C++ projects.
By default it consists of an editor area and the following views:
</p>
<ul>
<li>C/C++ Projects (the file navigator for C/C++ resources)</li>
<li>Navigator (the file navigator for all Eclipse resources)</li>
<li>C-Build</li>
<li>Console</li>
<li>Properties</li>
<li>Tasks</li>
<li>Make Targets</li>
<li>Outline</li>
<li>Search.</li>
</ul>
<h3>Debug perspective views</h3>
<p>This perspective is tuned for debugging your C/C++ program.
By default it includes an editor area and the following views:
</p>
<ul>
<li>Debug</li>
<li>Variables</li>
<li>Breakpoints</li>
<li>Expressions</li>
<li>Registers</li>
<li>Memory</li>
<li>Display (for use with JDT only)</li>
<li>Outline</li>
<li>Console</li>
<li>Tasks.</li>
</ul>
<h3>Other Perspectives</h3>
<p>In addition to the perspectives named above and the
<span class="guilabel">Resource</span> perspective (which you see when you first start Eclipse),
Eclipse also has perspectives that are tuned to other types of development:
</p>
<ul>
<li>Java</li>
<li>Java Browsing</li>
<li>Plug-in Development.</li>
</ul>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br><a href="cdt_c_views.htm">Views in the C/C++ perspective</a>
<br><a href="cdt_o_dbg_concepts.htm">Debug Concepts</a>
</p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br><a href="../tasks/cdt_t_add_brkpnts.htm">Adding breakpoints</a>
<br><a href="../tasks/cdt_t_suspend_threads.htm">Suspending threads</a>
</p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br><a href="../reference/cdt_u_brkpnts.htm">Breakpoints view</a>
<br><a href="../reference/cdt_u_console_view.htm">Console view</a>
<br><a href="../reference/cdt_u_debug_view.htm">Debug view</a>
<br><a href="../reference/cdt_u_expressions_view.htm">Expressions view</a>
<br><a href="../reference/cdt_u_outlineview.htm">Outline view for C/C++</a>
<br><a href="../reference/cdt_u_variables_view.htm">Variables view</a>
</p>
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement" BORDER=0 width="300" height="14"><br>
<img src="../images/ng03_04.gif" ALT=" IBM Copyright Statement" BORDER=0 width="324" height="14">
</p>
</body>
</html>

View file

@ -36,8 +36,7 @@ function changeSize(theImage,wd,ht) {
Files that you select in the C/C++ Projects view affect the information that is displayed in other views.</p>
<img src="../images/projectsView.png" width="122" height="213" onClick="changeSize(this,122,213);"
alt="Screen capture showing Projects Vieww" title="click to toggle image size">
<img src="../images/view_projects.png" alt="C/C++ Projects View">
<h2>Navigator view</h2>
@ -51,37 +50,83 @@ item does, select an item and press F1. </p>
<p>By default, the Navigator view is included in the Resources perspective. To add it to the current perspective, click
<b>Window > Show View > Navigator</b>.</p>
<img src="../images/navigatorView.png" width="122" height="117" onClick="changeSize(this,122,117);"
alt="Screen capture showing Projects Vieww" title="click to toggle image size">
<img src="../images/view_navigator.png" alt="Navigator View">
<h3>Toolbar icons</h3>
<p><table border="1" >
<p><table border="1" cellpadding="3" cellspacing="0">
<tr>
<th>Icon</th>
<th>Name</th>
<th>Description</th>
</tr>
<tr>
<td><img src="../images/view-back.png" border="0" width="22" height="22" alt="Back Button"></td>
<td>Back </td>
<td align="center" valign="top"><img src="../images/icon_con_min.png"></td>
<td valign="top"><b>MinimizeConsole</b></td>
<td valign="top">Minimizes the Console view.</td>
</tr>
<tr>
<td><img src="../images/view-forward.png" border="0" width="22" height="22" alt="Forward Button"></td>
<td>Forward </td>
<td align="center" valign="top"><img src="../images/icon_con_max.png"></td>
<td valign="top"><b>Maximize Console</b></td>
<td valign="top">Maximizes the Console view.</td>
</tr>
<tr>
<td><img src="../images/view-up.png" border="0" width="22" height="22" alt="Up Button"></td>
<td>Up </td>
<td align="center" valign="top"><img src="../images/icon_back.png" alt="Back Icon"></td>
<td valign="top"><b>Back</b></td>
<td valign="top">This command displays the hierarchy that was displayed immediately prior to the current display.&nbsp;
For example, if you Go Into a resource, then the Back command in the resulting display returns the view to the same hierarchy from which you activated the
<i> Go Into</i> command. The hover help for this button tells you where it will take you. This command is similar to the Back button in a web browser.</td>
</tr>
<tr>
<td><img src="../images/view-collapseAll2.png" border="0" width="22" height="22" alt="Collapse All Button"></td>
<td>Collapse All </td>
<td align="center" valign="top"><img src="../images/icon_forward.png" alt="Forward Icon"></td>
<td valign="top"><b>Forward</b></td>
<td valign="top">This command displays the hierarchy that was displayed immediately after the current display.&nbsp;
For example, if you've just selected the Back command, then selecting the Forward command in the resulting display returns the view to the same hierarchy from which you activated the Back command.&nbsp;The
hover help for this button tells you where it will take you.
This command is similar to the Forward button in a web browser.</td>
</tr>
<tr>
<td><img src="../images/view-linkWithEditor.png" border="0" width="22" height="22" alt="Link with Editor Button"></td>
<td>Link with Editor </td>
<td align="center" valign="top"><img src="../images/icon_up.png" alt="Up Icon"></td>
<td valign="top"><b>Up</b></td>
<td valign="top">This command displays the hierarchy of the parent of the current highest level resource. The hover help for this button tells you where it will take you.</td>
</tr>
<tr>
<td><img src="../images/view-menu.png" border="0" width="22" height="22" alt="Menu Button"></td>
<td>Menu </td>
<td align="center" valign="top"><img src="../images/icon_collapse_all.png" alt="Collapse All Icon"></td>
<td valign="top"><b>Collapse All</b></td>
<td valign="top">This command collapses the tree expansion state of all resources in the view.</td>
</tr>
<tr>
<td align="center" valign="top"><img src="../images/icon_link_with_editor.png" alt="Link with Editor Icon"></td>
<td valign="top"><b>Link with Editor</b></td>
<td valign="top">This command toggles whether the Navigator view selection is linked to the active editor.
When this option is selected, changing the active editor will automatically update the Navigator selection to the resource being edited.</td>
</tr>
<tr>
<td align="center" valign="top"><img src="../images/icon_menu.png" alt="Menu Icon"></td>
<td valign="top"><b>Menu</b></td>
<td valign="top">Click the black upside-down triangle icon to open a menu of items specific to the Navigator view.<br><br>
<dl>
<p><dt>Select Working Set</dt>
<dd>Opens the <B>Select Working Set</B> dialog to allow selecting a working set for the Navigator view.</dd></p>
<p><dt>Deselect Working Set</dt>
<dd>Deselects the current working set. </dd></p>
<p><dt>Edit Active Working Set</dt>
<dd>Opens the <B>Edit Working Set</B> dialog to allow changing the current working set.</dd></p>
<p><dt>Sort</dt>
<dd>This command sorts the resources in the Navigator view according to the selected schema:<br>
<ul>
<li><b>By Name</b>:&nbsp; Resources are sorted alphabetically, according to the full name of the resource (e.g., A.TXT, then B.DOC, then C.HTML, etc.)</li>
<li><b>By Type</b>:&nbsp; Resources are sorted alphabetically by file type/extension (e.g., all DOC files, then all HTML files, then all TXT files, etc.).</li>
</ul></p>
<p><dt>Filters</dt>
<dd>This command allows you to select filters to apply to the view so that you can show or hide various resources as needed.
File types selected in the list will not be shown in the Navigator.<dd></p>
<p><dt>Link with Editor</dt>
<dd>See the toolbar item description above.</dd></p>
</dl></td>
</tr>
</table></p>
<p>For information about the Navigator view toolbar and icons, see <b>Workbench User Guide &gt; Concepts &gt; Views &gt; Navigator View</b>.</p>
<p>For information about the pop up menu in the Navigator view, see <b>Workbench User Guide &gt; Reference &gt; User interface information &gt;
Views and Editors &gt; Navigator View</b>.</p>

View file

@ -0,0 +1,48 @@
<!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=iso-8859-1">
<title>Templates</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Templates</h1>
<p>Templates are sections of code that occur frequently enough that you would like
to be able to insert them with a few keystrokes.
This function is known as <b>Content Assist</b>; the sections of code that are
inserted are known as <b>templates</b>.
</p>
<p>To input an existing Content Assist template into a file, such as one for an
<b>if</b> statement, type the initial character ("<tt>i</tt>" in this case), then press <b>Ctrl+Space</b>.
The templates that begin with that character appear. Double-click on a template to insert it into a file.</p>
<p>You can edit existing Code/Content Assist templates or create new ones. From the menu bar choose
<b>Window &gt; Preferences &gt; C/C++ &gt; Code Templates</b>.</p>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br><a href="cdt_c_over_cdt.htm">CDT Overview</a>
</p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br><a href="../tasks/cdt_t_contentassist.htm">Creating and editing code templates</a>
<br><a href="../tasks/cdt_t_add_codetemp.htm">Using templates</a>
<br><a href="../tasks/cdt_t_imp_code_temp.htm">Importing and exporting code templates</a>
</p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br><a href="../reference/cdt_u_menu_edit.htm">Edit menu</a>
<br><a href="../reference/cdt_u_c_editor_con_assist.htm">Content Assist page, Preferences window</a>
<br><a href="../reference/cdt_u_code_temp.htm">Code Templates page, Preferences window</a>
</p>
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement" BORDER=0 width="300" height="14"><br>
<img src="../images/ng03_04.gif" ALT=" IBM Copyright Statement" BORDER=0 width="324" height="14">
</p>
</body>
</html>

View file

@ -0,0 +1,59 @@
<!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>Views in the C/C++ perspective</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Views in the C/C++ perspective</h1>
<p>The C/C++ views are panels that help you perform the tasks involved in creating C/C++ programs.
The <b>C/C++</b> perspective displays these panels in a single Eclipse window. </p>
<b>Changing Views:</b>
<ul>
<li>You can add views to a perspective. From the menu bar choose <b>Window > Show View > Other</b> and select a new view from the <b>Show View</b> dialog.</li>
<li>To reset the current perspective to its original layout, from the menu bar choose <b>Window > Reset Perspective</b>.</li>
</ul>
<p>The following views are commonly used in the <b>C/C++</b> perspective:</p>
<dl>
<dt>C-Build</dt><dd>Displays the output from your build command.</dd>
<dt>C/C++ Projects</dt><dd>Shows your C/C++ projects and files.It operates in much the same way as the <b>Navigator</b>.</dd>
<dt>Console</dt><dd>Displays your program's output.</dd>
<dt>Make Targets</dt><dd>Enables you to select the make targets you want to build for a particular CPU.</dd>
<dt>Navigator</dt><dd>Shows all of the file system's files under your workspace directory.</dd>
<dt>Outline</dt><dd>Displays the structure of the file currently open in an editor.</dd>
<dt>Properties</dt><dd>Shows the attributes of the item currently selected in a view or an editor.</dd>
<dt>Search</dt><dd>Shows the results of searches for files or text.</dd>
<dt>Tasks</dt> <dd>Lists tasks that want to keep track of, either as a schedule of things to do or a history of things that have been done.</dd>
</dl>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br><a href="cdt_c_over_cdt.htm">CDT Overview</a>
<br><a href="cdt_c_perspectives.htm">C/C++ perspectives</a>
</p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br><a href="../reference/cdt_u_brkpnts.htm">Breakpoints view</a>
<br><a href="../reference/cdt_u_console_view.htm">Console view</a>
<br><a href="../reference/cdt_u_dbg_view.htm">Debug view</a>
<br><a href="../reference/cdt_u_expressions_view.htm">Expressions view</a>
<br><a href="../reference/cdt_u_outlineview.htm">Outline view for C/C++</a>
<br><a href="../reference/cdt_u_variables_view.htm">Variables view</a>
<br><a href="../reference/cdt_o_views.htm">Views</a>
</p>
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement" BORDER=0 width="300" height="14"><br>
<img src="../images/ng03_04.gif" ALT=" IBM Copyright Statement" BORDER=0 width="324" height="14">
</p>
</body>
</html>

View file

@ -13,11 +13,11 @@
<h1>Coding aids</h1>
<p>This section provides information on code entry aids.</p>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_outlineview.htm">Outline View</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_comments.htm">Comments</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_content_assist.htm">Content Assist</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_search.htm">C/C++ search</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_open_declarations.htm">Open declarations</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_templates.htm">Templates</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none">Error Parsing</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none">Invoking Make</a><br>
<p><img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14"></p>

View file

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Concepts</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
@ -15,20 +15,35 @@
<p>Provides background information for CDT components, tasks and objectives.</p>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_over_cdt.htm">CDT overview</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_projects.htm">CDT projects</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_projects.htm">CDT projects</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_proj_file_views.htm">Project file views</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_over_cdt.htm">CDT Overview</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_projects.htm">CDT Projects</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_perspectives.htm">CDT Perspectives</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_views.htm">CDT Views</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_code_entry.htm">Code aids</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_outlineview.htm">Outline View</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_comments.htm">Comments</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_content_assist.htm">Content Assist</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_templates.htm">Templates</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_edit.htm">Editing</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_editor.htm">Editor View</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none">C++</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none">Makefile</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_nav.htm">Navigation aids</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_outlineview.htm">Outline View</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_proj_file_views.htm">Project File views</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none">Make Targets View</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_search.htm">C/C++ search</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_open_declarations.htm">Open declarations</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none">Open Type</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none">Class Browser</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none">Heirarchy View</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_build_conc.htm">Build</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_build_over.htm">Build overview</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none">Error Parsing</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none">Invoking Make</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_build_over.htm">Building C/C++ Projects</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-home/user/Reference%20Documents/Managed_Build/Managed_Build_Extensibility.html?cvsroot=Tools_Project">Manage Build Extensibility Document</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_dbg_concepts.htm">Debug</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_brkpnts.htm">Adding Break Points</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_over_dbg.htm">Debug overview</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_dbg_info.htm">Debug information</a><br>

View file

@ -13,7 +13,7 @@
<h1>Debug</h1>
<p>This section describes CDT debug concepts.</p>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_brkpnts.htm">Adding Break Points</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_over_dbg.htm">Debug overview</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_dbg_info.htm">Debug information</a><br>

View file

@ -0,0 +1,22 @@
<!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>Editing C/C++ Files</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Editing C/C++ Files</h1>
<p>This section provides information on editing C/C++ files.</p>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_editor.htm">Editor View</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none">C++</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none">Makefile</a><br>
<p><img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14"></p>
</body>
</html>

View file

@ -0,0 +1,27 @@
<!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>Navigation Aids</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Navigation Aids</h1>
<p>This section provides information on navigating through the C/C++ Perspective.</p>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_outlineview.htm">Outline View</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_proj_file_views.htm">Project File views</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none">Make Targets View</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_search.htm">C/C++ search</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_open_declarations.htm">Open declarations</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none">Open Type</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none">Class Browser</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none">Heirarchy View</a><br>
<p><img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14"></p>
</body>
</html>

View file

@ -7,19 +7,13 @@
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1>Tutorial</h1>
<h1>Getting Started</h1>
<p>These tutorials will guide you through the process of using the C/C++ Development Toolkit (CDT).</p>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_basic.htm">Managed Make Hello World Tutorial</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_standard.htm">Standard Make Hello World Tutorial</a><br>
<br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_newproj.htm">Creating your project</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_newcpp.htm">Creating your C++ file</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_newmake.htm">Creating your makefile</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_build.htm">Building your project</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_debug.htm">Debugging your project</a><br>
<br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_existing_code.htm">How to bring C/C++ source into Eclipse</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_install_cdt.htm">Updating the CDT</a><br>

View file

@ -148,7 +148,7 @@ function goBack() {
<h2>C/C++ Development Toolkit (CDT) Managed Make Tutorial</h2>
<center>
<IFRAME name=textFrame SRC="cdt_w_basic01.htm" TITLE="cdt_w_basic Text" MARGINWIDTH=0 MARGINHEIGHT=0 width=800 height=150 frameborder=0 SCROLLING=auto></IFRAME>
<table width="75%" border="0" cellspacing="0" summary="">
<table width="600px" border="0" cellspacing="0" summary="">
<tr>
<td><img src="../images/trans.gif" align="left" width="16" height="16" onClick="goBack();" title="" name="back"></td>
<td><center><img src="../images/trans.gif" width="16" height="16" onClick="reset();" title="" name="home"></center></td>

View file

@ -0,0 +1,70 @@
<!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>Preparing the Workbench</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript">
function changeSize(theImage,wd,ht) {
wdth=parseInt(theImage.style.width); hght=parseInt(theImage.style.height);
if ( !(wdth==(wd*2)) ) {wdth=wd*2; hght=ht*2;}
else {wdth=wd;hght=ht;}
theImage.style.width=wdth; theImage.style.height=hght;
}
</script>
</head>
<body>
<h1>Preparing the Workbench</h1>
<p>This tutorial will get you started using the C/C++ Development Toolkit (CDT) in the Workbench.</p>
<p>In this section, you will verify that the workbench is properly set up for C/C++ development. It is assumed that:</p>
<ul>
<li>Your Workbench has its default settings.
To reset the current perspective to its original layout, from the menu bar choose
<b>Window > Reset Perspective</b>.</li>
<li>You are familiar with the basic Workbench mechanisms, such as
<a href="../concepts/cdt_o_views.htm">views</a> and
<a href="../concepts/cdt_o_perspectives.htm">perspectives</a>.
</li>
</ul>
<h2>Setting the C/C++ Editor's operation and appearance</h2>
<ol>
<br><li>Open the Workbench preferences: from the menu bar, select <b>Window &gt; Preferences</b>.</li>
<br><li>Expand the <b>C/C++</b> heading and click on <b>C/C++ Editor</b>. The <b>Preferences C/C++ Editor</b> dialog's <b>General</b> tab appears.
<p><img src="../images/editor_general_preferences.png" width="335" height="334" onClick="changeSize(this,335,304);"
alt="C/C++ Editor Preferences General page" title="click to toggle image size"></li>
<br><li>Make any changes that you require to be comfortable editing files.
For example, you may want to enable <b>Show line numbers</b> or you may want to make the <b>Problem indicator color</b> a different shade of red. For more information see the <a href="../reference/cdt_u_c_editor_gen.htm">General page Preferences window</a> in the reference section.</li>
<br><li>On the <b>Preferences C/C++ Editor</b> dialog, click the <b>Colors</b> tab. The <b>Preferences C/C++ Editor</b> dialog's <b>Colors</b> tab appears.</p>
<img src="../images/editor_color_preferences.png" width="335" height="334" onClick="changeSize(this,335,304);"
alt="C/C++ Editor Preferences Color page" title="click to toggle image size">
<br>Again, make any changes that will be useful for your working habits and click <b>OK</b>. For more information see the <a href="../reference/cdt_u_c_editor_color.htm">Color page Preferences window</a> in the reference section.</li>
<br><li>On the <b>Preferences C/C++ Editor</b> dialog, click the <b>Content Assist</b> tab. The <b>Preferences C/C++ Editor</b> dialog's <b>Content Assist</b> tab appears.<br>
<img src="../images/contentAssist_preferences.png" width="333" height="263" onClick="changeSize(this,334,263);"
alt="C/C++ Editor Preferences Content Assist page" title="click to toggle image size">
<br>If you want to set an auto-activation delay or change the background for completion proposals, do so now. For more information see the <a href="../reference/cdt_u_c_editor_con_assist.htm">Content Assist page Preferences window</a> in the reference section.</li>
<br><li>Leave the preferences by clicking <b>OK</b>.</li>
</ol>
<p><img src="../images/ngref.gif" alt="Related reference">
<br><a href="../reference/cdt_o_ceditor_pref.htm">C/C++ Editor Preferences</a></p>
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Copyright Statement" BORDER=0 width="300" height="14"><br>
<img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
</p>
</body>
</html>

View file

@ -168,7 +168,7 @@ function goBack() {
<h2>C/C++ Development Toolkit (CDT) Standard Make Tutorial</h2>
<center>
<IFRAME name=textFrame SRC="cdt_w_standard01.htm" TITLE="cdt_w_standard Text" MARGINWIDTH=0 MARGINHEIGHT=0 width=800 height=150 frameborder=0 SCROLLING=auto></IFRAME>
<table width="75%" border="0" cellspacing="0" summary="">
<table width="600px" border="0" cellspacing="0" summary="">
<tr>
<td><img src="../images/trans.gif" align="left" width="16" height="16" onClick="goBack();" title="" name="back"></td>
<td><center><img src="../images/trans.gif" width="16" height="16" onClick="reset();" title="" name="home"></center></td>
@ -179,4 +179,4 @@ function goBack() {
</center>
<img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
</body>
</html>
</html>

View file

@ -19,4 +19,4 @@ function newWin(url) {
If you have not already installed the C/C++ perspective, you can find the procedures <a href="javascript:void(0)" onClick="newWin('cdt_w_install_cdt.htm')">here</a>.</p>
</body>
</html>
</html>

View file

@ -14,4 +14,4 @@
</body>
</html>
</html>

View file

@ -14,4 +14,4 @@
You can open them again later by clicking <b>Window > Show View</b> and reselecting them.
</body>
</html>
</html>

View file

@ -12,4 +12,4 @@
<p>You can now create a C/ C++ project by clicking <b>File > New > Project</b>.</p>
</body>
</html>
</html>

View file

@ -13,4 +13,4 @@
A Standard Make C/C++ project requires you to provide a makefile, a Managed Make project will create one for you.</p>
</body>
</html>
</html>

View file

@ -13,4 +13,4 @@ checkbox and entering the new path in the <b>Location</b> text box.</p>
<p>Click <b>Next</b>.</p>
</body>
</html>
</html>

View file

@ -14,4 +14,4 @@ enter the build command in the text box. It is recommended you leave the <b>Buil
saved in your project the project will perform a build which can become time consuming for large projects.</p>
</body>
</html>
</html>

View file

@ -12,4 +12,4 @@
You can also change the order in which Error Parsers are called.</p>
</body>
</html>
</html>

View file

@ -14,4 +14,4 @@ After you select the correct parser for your development environment and build y
</body>
</html>
</html>

View file

@ -16,4 +16,4 @@ are not in the workspace.</p>
</body>
</html>
</html>

View file

@ -12,4 +12,4 @@
<p>You can enable or disable the indexer here. The indexer is necessary for search and related features, like content assist.</p>
</body>
</html>
</html>

View file

@ -13,4 +13,4 @@
</body>
</html>
</html>

View file

@ -12,4 +12,4 @@
<p>Create a new cpp file (such as main.cpp) by right clicking your project and selecting <b>New > File</b>.</p>
</body>
</html>
</html>

View file

@ -13,4 +13,4 @@
<p>Enter the name of your file in the <b>File name</b> text area then click <b>Finish</b>.</p>
</body>
</html>
</html>

View file

@ -13,4 +13,4 @@
</body>
</html>
</html>

View file

@ -12,4 +12,4 @@
<p>Create a new makefile by right clicking your project and selecting <b>New > File</b>.</p>
</body>
</html>
</html>

View file

@ -13,4 +13,4 @@
<p>Enter <b>makefile</b> for the name of the file in the <b>File name</b> text area then click <b>Finish</b>.</p>
</body>
</html>
</html>

View file

@ -12,4 +12,4 @@
<p>You should now see the new makefile located in the Projects View under the project, and the makefile should be open in the <b>Editor</b> view.</p>
</body>
</html>
</html>

View file

@ -17,4 +17,4 @@ window.open(url, 'make_example', 'width=400, height=300, menubar=no, toolbar=no,
<p>Enter the script for your makefile that was just created. You can get the code shown below click <a href="javascript:void(0)" onClick="newWin('make_example.htm')">here</a>.</p>
<p><i>Note: Ensure you have tabs, not spaces before your indented code, some parsers do not accept spaces.</i></p>
</body>
</html>
</html>

View file

@ -19,4 +19,4 @@ window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, tool
<p>You will notice an asterisk in front of the file name on the tab in the <b>Editor</b> view, this tells you the file changed but has not been saved.</p>
</body>
</html>
</html>

View file

@ -14,4 +14,4 @@
</body>
</html>
</html>

View file

@ -17,4 +17,4 @@
</body>
</html>
</html>

View file

@ -15,4 +15,4 @@ This will create your Run Configuration.</p>
</body>
</html>
</html>

View file

@ -11,4 +11,4 @@
<p>Select the new Run Configuration in the <b>Configurations:</b> view and click the <b>Main</b> tab and then the <b>Search</b> button.</p>
</body>
</html>
</html>

View file

@ -12,4 +12,4 @@
<p>The <b>Program Selection</b> dialog box will appear, select the executable you would like to run and click <b>OK</b>.<p>
</body>
</html>
</html>

View file

@ -14,4 +14,4 @@
</body>
</html>
</html>

View file

@ -13,4 +13,4 @@
<p>You will notice that the view can be configured to display different elements (such as user input elements) in different colors.</p>
</body>
</html>
</html>

View file

@ -12,4 +12,4 @@
<p>The title bar in the <b>Console</b> view will show you when the program has terminated.</p>
</body>
</html>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 880 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

Some files were not shown because too many files have changed in this diff Show more