From Dave Williams: Continuing doc cleanup, new tutorials, updated screen captures, changed workflows as required.
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<title>Before you begin</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<br>
|
||||
<a href="../concepts/cdt_o_home.htm">CDT Home</a><br>
|
||||
</p>
|
||||
<p><img src="../images/ng2003.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
|
||||
<p><img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
|
||||
</p>
|
||||
</body>
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>CDT projects</title>
|
||||
<title>Building C/C++ projects</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Building C/C++ projects</h1>
|
||||
|
||||
<p>The CDT uses the same make utility and makefile used on the command line.
|
||||
<p>The CDT relies on an external mae utility, such as GNU make, to build a project.
|
||||
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>
|
||||
|
@ -21,13 +21,10 @@ You have the option of creating a Standard Make C project or a Standard Make C++
|
|||
<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.
|
||||
<p><b>Tip: </b>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>
|
||||
|
||||
|
@ -35,17 +32,13 @@ An error message stating the command was not found or not recognized means that
|
|||
|
||||
<h3>Build Project</h3>
|
||||
|
||||
<p>This is an incremental build (make all). Only the components affected by modified files in that particular
|
||||
project are built.</p>
|
||||
<p>This is an incremental build (make all, assuming all is defined in your makefile). Only the components affected by modified files in that particular project are built.</p>
|
||||
|
||||
<h3>Rebuild Project</h3>
|
||||
|
||||
<p>Builds every file in the project whether or not a file has been modified since
|
||||
the last build. A rebuild is a clean followed by a
|
||||
build.</p>
|
||||
<p>Builds every file in the project whether or not a file has been modified since the last build. A rebuild is a clean followed by a build.</p>
|
||||
|
||||
<p>For more information on builds, see:</p>
|
||||
|
||||
<ul>
|
||||
<li><b>Workbench User Guide > Concepts > Workbench > Builds</b></li>
|
||||
<li><b>Workbench User Guide > Tasks > Building resources</b></li>
|
||||
|
@ -55,39 +48,21 @@ build.</p>
|
|||
|
||||
<ul>
|
||||
<li>The Console view displays the output of the make utility.</li>
|
||||
<li>The Tasks view displays a list of compiler errors and warnings related to
|
||||
your projects.</li>
|
||||
<li>Makefile actions are displayed in the Make Targets view.</li>
|
||||
<li>The Tasks view displays a list of compiler errors and warnings related to your projects.</li>
|
||||
<li>Makefile targets are displayed in the Make Targets view.</li>
|
||||
</ul>
|
||||
|
||||
<p>For more information about the Tasks view, see <b>Workbench User Guide > Reference > User interface information > Views and editors > Tasks
|
||||
view</b>.</p>
|
||||
<p>For more information about the Tasks view, see <b>Workbench User Guide > Reference > User interface information > Views and editors > Tasks view</b>.</p>
|
||||
|
||||
<h2>Getting a makefile</h2>
|
||||
|
||||
<p>You can either create a C project for which you supply the
|
||||
<p>You can either create a C project for which you supply the <b>makefile</b> or create a C project for which the CDT generates makefiles automatically.</p>
|
||||
|
||||
<b>makefile</b>
|
||||
or create a C project for which the CDT generates makefiles automatically.
|
||||
</p>
|
||||
|
||||
<p>To create a new project, from the menu bar choose
|
||||
<b>File > New > Project</b>.
|
||||
In the dialog that appears:
|
||||
</p>
|
||||
<p>To create a new project, from the menu bar choose <b>File > New > Project</b>. In the dialog that appears:</p>
|
||||
|
||||
<ul>
|
||||
<li>To create a project for which you supply the <b>makefile</b>,
|
||||
select either
|
||||
<b>Standard Make C project</b> or
|
||||
|
||||
<b>Standard Make C++ project</b>.
|
||||
</li>
|
||||
<li>To create a project for which the CDT supplies a basic
|
||||
<b>makefile</b>, select either
|
||||
<b>Managed Make C project</b> or
|
||||
<b>Managed Make C++ project</b>.
|
||||
</li>
|
||||
<li>To create a project for which you supply the <b>makefile</b>, select either <b>Standard Make C project</b> or <b>Standard Make C++ project</b>. </li>
|
||||
<li>To create a project for which the CDT supplies a basic <b>makefile</b>, select either <b>Managed Make C project</b> or <b>Managed Make C++ project</b>. </li>
|
||||
</ul>
|
||||
|
||||
<h2>Setting build preferences</h2>
|
||||
|
@ -95,75 +70,41 @@ select either
|
|||
<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
|
||||
<b>Window > Preferences >
|
||||
Build Order</b>.
|
||||
<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
|
||||
<b>Windows > Preferences > Workbench</b>.
|
||||
By default, this feature is disabled.
|
||||
</dd>
|
||||
<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 <b>Window > Preferences > Build Order</b>.
|
||||
<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 <b>Windows > Preferences > Workbench</b>.By default, this feature is enabled.</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
|
||||
<b>Properties</b> setting.
|
||||
To view a project's properties, right-click on the project and select
|
||||
<b>Properties</b>.
|
||||
In the dialog that appears, the
|
||||
<b>C/C++ Make Project</b> page enables you
|
||||
to control a variety of settings, including:</p>
|
||||
|
||||
<p>The C/C++ compiler that a project uses is controlled by the project's <b>Properties</b> setting.
|
||||
To view a project's properties, right-click on the project and select <b>Properties</b>.
|
||||
In the dialog that appears, the <b>C/C++ Make Project</b> page enables you to control a variety of settings, including:</p>
|
||||
<dl>
|
||||
<dt>Build Setting</dt>
|
||||
|
||||
<dd>Controls whether the compiler will <b>Stop On Error</b>
|
||||
or <b>Keep Going On Error</b>.
|
||||
Choosing <b>Keep Going On Error</b> 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 <b>C Builder</b>
|
||||
(<b>gcc</b>).</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>
|
||||
<dt>Build Setting</dt>
|
||||
<dd>Controls whether the compiler will <b>Stop On Error</b>or <b>Keep Going On Error</b>.
|
||||
Choosing <b>Keep Going On Error</b> 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 make is used.</dd>
|
||||
<dt>Workbench Build Behavior</dt>
|
||||
<dd>Controls which makefile target will be built depending on the scope of the build.</dd>
|
||||
</dl>
|
||||
|
||||
<p>The <b>External Tools Builders</b> 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>
|
||||
|
||||
<p>Build-related information is displayed as follows: </p>
|
||||
<ul>
|
||||
<li>The <b>Console</b> view displays the output of the make utility.</li>
|
||||
<li>The <b>Tasks</b> view displays a list
|
||||
of compiler errors and warnings related to your projects.
|
||||
</li>
|
||||
<li>Build actions display in the <b>Make Targets</b> view.</li>
|
||||
|
||||
<li>The <b>Console</b> view displays the output of the make utility.</li>
|
||||
<li>The <b>Tasks</b> view displays a list of compiler errors and warnings related to your projects. </li>
|
||||
<li>Build actions display in the <b>Make Targets</b> 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>
|
||||
|
|
|
@ -19,7 +19,7 @@ Two styles of comments are supported by current C/C++ compilers:</p>
|
|||
</ul>
|
||||
|
||||
<h3>Comment</h3>
|
||||
<p>You can quickly comment out one or more lies of code by inserting the leading
|
||||
<p>You can quickly comment out one or more lines of code by inserting the leading
|
||||
characters <samp>//</samp> at the beginning of the line. To do so, select the line
|
||||
(or lines) of code you want to comment out and press <b>CTRL+/</b> (slash).</p>
|
||||
|
||||
|
|
|
@ -4,16 +4,8 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Content assist</title>
|
||||
<title>Content Assist</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>
|
||||
|
@ -26,8 +18,7 @@ a developer will type, based on the current context, scope, and prefix.</p>
|
|||
|
||||
<h2>Code completion</h2>
|
||||
|
||||
<p>Content assist provides code completion in the body of a method
|
||||
or a function. For the current project (and any referenced projects) a list is
|
||||
<p>Content assist provides code completion anywhere in the document. For the current project a list is
|
||||
displayed of the elements that begin with the letter combination you entered, and
|
||||
the relevance of each proposal is determined in the following order:</p>
|
||||
|
||||
|
@ -43,20 +34,16 @@ the relevance of each proposal is determined in the following order:</p>
|
|||
<li>Enumerations</li>
|
||||
</ul>
|
||||
|
||||
You trigger the Code completion feature when you call Content Assist (such as when you type <tt>Ctrl+Space</tt>), but you also invoke it when you type
|
||||
You trigger the Code completion feature when you call Content Assist (such as when you type <tt>Ctrl+Space</tt>), but it is autoacivated you type
|
||||
"<b>.</b>", "<b>-></b>" or "<b>::</b>".</p>
|
||||
|
||||
<p><img src="../images/contentAssist_example.png" alt="C++ example showing Code Assist popup"></p>
|
||||
|
||||
<p>You can view the signature of each item on the list in a pop-up by pointing
|
||||
to it. You can then select an
|
||||
item in the list to insert it directly into your code. Newly created
|
||||
elements in your current or referenced project(s) must be saved before they will
|
||||
appear in the Content Assist list.</p>
|
||||
<p>You can view the signature of each item on the list in a pop-up by pointing to it. You can then select an item in the list to insert it directly into your code. </p>
|
||||
|
||||
<h2>Code templates</h2>
|
||||
|
||||
<p>You can create and save code templates for frequently used sections of code. The Content Assist feature also provides quick access to code
|
||||
<p>You can create and save code templates for frequently used sections of code, which will be inserted according to scope. The Content Assist feature also provides quick access to code
|
||||
templates.</p>
|
||||
|
||||
<p>When you enter a letter combination in the C/C++ editor, and type <tt>CTRL+SPACE</tt> (or right-click and click <b>Content Assist</b>), a
|
||||
|
|
|
@ -10,40 +10,20 @@
|
|||
<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 CDT provides an editor that gives you specific support for editing C/C++ code.
|
||||
This C/C++ editor is invoked automatically when you edit a C/C++ source file.</p>
|
||||
|
||||
<p>The C editor includes the following features:</p>
|
||||
<p>The C/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 > Preferences > C/C++ > C/C++ Editor</b> preferences dialog.</p>
|
||||
<p>You can customize some of the operation of the C editor from the <b>Window > Preferences > 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">
|
||||
|
@ -66,4 +46,4 @@ If this is successful, the editor adds the appropriate
|
|||
<img src="../images/ng03_04.gif" ALT=" IBM Copyright Statement" BORDER=0 width="324" height="14">
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
|
@ -10,14 +10,15 @@
|
|||
|
||||
<body>
|
||||
|
||||
<h1>Open declarations</h1>
|
||||
<h1>Open declaration</h1>
|
||||
|
||||
<p>You can select an element name in your code and quickly navigate to its declaration.</p>
|
||||
|
||||
<img src="../images/openDeclarations.png" alt="Editor View showing Open Declarations option">
|
||||
<img src="../images/openDeclaration.png" alt="Editor View showing Open Declaration option">
|
||||
|
||||
<p>If the search finds only one matching declaration, you will immediately jump to the declaration, even if it is in another file. If
|
||||
the search finds multiple declarations, a windowed list of prospects will appear.</p>
|
||||
<p>Open declaraion will attempt to navigate to the exact declaraion of the selected element. Open declaration requires your file to have the proper include paths set up to the declaraion. If for any reason open declaraion cannot find the declarion, it will display the following message in the status line:</p>
|
||||
|
||||
<img src="../images/open_declaration_error.png" alt="This operation is unavailable on the current selection message.">
|
||||
|
||||
<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>
|
||||
|
|
|
@ -21,23 +21,24 @@ open in the editor area, by listing the structural elements. </p>
|
|||
in which they occur:</p>
|
||||
|
||||
<ul>
|
||||
<li>C or C++ file</li>
|
||||
<li>Class</li>
|
||||
<li>Namespace</li>
|
||||
<li>Include</li>
|
||||
<li>Enum</li>
|
||||
<li>Enumerator</li>
|
||||
<li>Field</li>
|
||||
<li>Field private</li>
|
||||
<li>Field protected</li>
|
||||
<li>Field public</li>
|
||||
<li>Include</li>
|
||||
<li>Method private</li>
|
||||
<li>Method protected</li>
|
||||
<li>Method public struct</li>
|
||||
<li>Method public</li>
|
||||
<li>Struct</li>
|
||||
<li>Type definition</li>
|
||||
<li>Union</li>
|
||||
<li>Variable</li>
|
||||
<li>Function</li>
|
||||
<li>Macro Definition</li>
|
||||
</ul>
|
||||
|
||||
<p>You can also sort the list
|
||||
|
@ -67,6 +68,7 @@ items:</p>
|
|||
<li>Complete a text-based search, of a workspace or a specified working set for the
|
||||
selected element.</li>
|
||||
<li>Open a selected .h file in the editor.</li>
|
||||
<li>Rename Refactor</li>
|
||||
</ul>
|
||||
|
||||
<h2>Icons</h2>
|
||||
|
|
|
@ -28,26 +28,16 @@ utilities and interpret their responses, such as:</p>
|
|||
C/C++ perspective consists of an editor and the following
|
||||
views:</p>
|
||||
<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 <b>workspace</b>.</dd>
|
||||
|
||||
<dt>Tasks view</dt>
|
||||
<dd>Lists things such as tasks, compiler warnings, and errors.</dd>
|
||||
|
||||
<dt>Console view</dt>
|
||||
<dd>Displays the output from <b>make</b>.</dd>
|
||||
|
||||
<dt>Properties view</dt>
|
||||
<dd>Lists the properties of a file that has been selected in
|
||||
the <b>C/C++ Projects</b> view or the
|
||||
|
||||
<b>Navigator</b> view.</dd>
|
||||
|
||||
<dt>Outline view</dt>
|
||||
<dd>Lists file elements.</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, as well as the output from your build command.</dd>
|
||||
<dt>Editor</dt><dd>The C/C++ editor view provides specialized features for editing C/C++ related files.</dd>
|
||||
<dt>Make Targets</dt><dd>Enables you to select the make targets you want to build in your workspace.</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>Problems View</dt><dd>If you encounter any errors during a build they will be displayed in the Problems view.</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>For more information, see <b>Workbench User Guide > Concepts > Perspectives</b>.</p>
|
||||
|
||||
|
|
|
@ -6,14 +6,6 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Project file views</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>
|
||||
|
@ -25,13 +17,16 @@ function changeSize(theImage,wd,ht) {
|
|||
<h2>C/C++ Projects view</h2>
|
||||
<p>The C/C++ Projects view displays, in a tree structure, only C and C++ project files. In this view you can do the following:
|
||||
<ul>
|
||||
<li>Browse the elements of .c, .cpp, and .h files</li>
|
||||
<li>Browse the elements of C/C++ source files</li>
|
||||
<li>Build Targets</li>
|
||||
<li>Create new projects, classes, files, or folders</li>
|
||||
<li>Import or Export files and projects</li>
|
||||
<li>Manage existing files (cut, paste, delete, move or rename)</li>
|
||||
<li>Open files in the editor view</li>
|
||||
<li>Open projects in a new window</li>
|
||||
<li>Create new projects, classes, files, or folders</li>
|
||||
<li>Manage existing files (cut, paste, delete, move or rename)</li>
|
||||
<li>Refactor</li>
|
||||
<li>Restore deleted files from local history</li>
|
||||
<li>Import or Export files and projects</li>
|
||||
<li>Search</li>
|
||||
</ul>
|
||||
|
||||
Files that you select in the C/C++ Projects view affect the information that is displayed in other views.</p>
|
||||
|
|
|
@ -25,9 +25,11 @@ The <b>C/C++</b> perspective displays these panels in a single Eclipse window. <
|
|||
<dl>
|
||||
<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, as well as the output from your build command.</dd>
|
||||
<dt>Make Targets</dt><dd>Enables you to select the make targets you want to build for a particular CPU.</dd>
|
||||
<dt>Editor</dt><dd>The C/C++ editor view provides specialized features for editing C/C++ related files.</dd>
|
||||
<dt>Make Targets</dt><dd>Enables you to select the make targets you want to build in your workspace.</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>Problems View</dt><dd>If you encounter any errors during a build they will be displayed in the Problems view.</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>
|
||||
|
@ -40,7 +42,6 @@ The <b>C/C++</b> perspective displays these panels in a single Eclipse window. <
|
|||
|
||||
|
||||
<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>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" valign="top" bgcolor="#0080c0">
|
||||
<p align="left"><b><font color="#ffffff">What's New in M8</font></b></p>
|
||||
<p align="left"><b><font color="#ffffff">What's New in 2.0</font></b></p>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
@ -39,10 +39,36 @@
|
|||
</table>
|
||||
|
||||
<h3>Enhanced Performance</h3>
|
||||
<p>Parser performance enhancements were added.</p>
|
||||
|
||||
<p>Builds can now be performed in the background.</p>
|
||||
|
||||
<p>Searches can now be performed in the background.</p>
|
||||
|
||||
<h3>Automatic Project Settings Discovery</h3>
|
||||
<p>Automatically generate project defines and include paths settings from the <b>C/C++ > New Make Projects > Discovery Options</b> project settings.
|
||||
|
||||
<h3>C/C++ File Types</h3>
|
||||
<p>Define specific files, especially C++ headers without extensions, using the <b>C/C++ File Types </b>global preferences or project property.</p>
|
||||
|
||||
<h3>Multiple Architecture Project Support</h3>
|
||||
<p>Building from multiple binary formats? Choose the appropriate formats using the <b>Binary Parser</b> project option.</p>
|
||||
|
||||
<h3>Editor Hyperlink Naviagation</h3>
|
||||
<p>Enable the editor hyperlink navigation and then you can use <b>Ctrl+click</b> to jump to the declaration of an item on the C/C++ editor.</p>
|
||||
|
||||
<h3>Indexer Error Markers</h3>
|
||||
<p>Enable C/C++ indexing and indexer error reporting in the C/C++ Indexer properties. This helps identify projects missing path configuration information.</p>
|
||||
|
||||
<h3>Rename Refactoring Support</h3>
|
||||
<p>Use the Outline or the C/C++ Editor <b>Refactor > Rename</b> context menu to refactor class & type names, methods, function & member names.</p>
|
||||
|
||||
<h3>Open Type</h3>
|
||||
<p>Use Open Type to open up the declaration of C/C++ classes, structures, unions, typedefs, enumerations and namespaces.</p>
|
||||
|
||||
<h3>Automatic Refresh</h3>
|
||||
<p>Configure the default behavior of the automatic retrieval of shared library and register information in the C/C++ debugger.</p>
|
||||
|
||||
|
||||
<h3>Improved Managed Make</h3>
|
||||
<p>You can now set the compiler command for managed projects.</p>
|
||||
|
||||
|
@ -54,26 +80,16 @@
|
|||
|
||||
<h3>Improved View and Browsing Features</h3>
|
||||
<p>You can now open Include files from the Outline View.</p>
|
||||
<p>Rename Refactoring is now supported from Projects, Outline and Editor views.
|
||||
<p>You can now perform selection searches from the C/C++ Editor</p>
|
||||
|
||||
<h3>Improved Search</h3>
|
||||
<p>Search now supports external files referenced using <tt>#include</tt>.</p>
|
||||
|
||||
<table width="100%" border="0" cellpadding="2" cellspacing="2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" valign="top" bgcolor="#0080c0">
|
||||
<p align="left"><b><font color="#ffffff">What's New Since 1.2</font></b></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3>Makefile Outline View</h3>
|
||||
<p>You can now browse the structure of your Makefile in Outline View.</p>
|
||||
|
||||
<h3>Content Assist Enhancements</h3>
|
||||
<p>Content Assist now produces proposals from class members.</p>
|
||||
<p>Content Assist now produces proposals from classes and structure members, local & global variables, pre-processor defines, pre-processor commands.</p>
|
||||
<p>Content Assist now supports C++.</p>
|
||||
|
||||
|
||||
|
@ -140,7 +156,7 @@ to search, mapping, and the order of the search.</p>
|
|||
and auto-load-symbols. Stop-on-solib will force the debugger to stop on any
|
||||
shared library events. Auto load will load the symbols for any shared library.</p>
|
||||
<h3>GDB/MI improvements in display of arrays</h3>
|
||||
<p>Arrays are now separated into ranges, to limit the possibility of a timeout
|
||||
<p>Arrays are now separated into ranges, to limit the possibility of a timeout
|
||||
on large arrays.</p>
|
||||
<h2>What's new for previous releases</h2>
|
||||
|
||||
|
@ -158,11 +174,8 @@ previous releases.</p>
|
|||
<br>
|
||||
<a href="../tasks/cdt_t_proj_new.htm">Creating a project</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>
|
||||
<br>
|
||||
</p>
|
||||
<img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
|
||||
|
||||
<p><img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14"> </p>
|
||||
|
||||
</body>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<h1>Build</h1>
|
||||
<p>This section describes the build views and terminology.</p>
|
||||
|
||||
<img src="../images/trans.gif" border="0" width="25" 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="25" 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="25" 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>
|
||||
|
||||
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
|
||||
<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="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_perspectives.htm">Perspectives available to C/C++ developers</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_c_views.htm">Views in the C/C++ perspective</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">Coding aids</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="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_edit.htm">Editing C/C++ Files</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_c_editor.htm">C/C++ editor</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>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<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" href="cdt_c_open_declarations.htm">Open declaration</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>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<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_brkpnts.htm">Breakpoints</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>
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
|
||||
<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" href="cdt_c_editor.htm">C/C++ editor</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>
|
||||
</html>
|
|
@ -4,7 +4,7 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>C/C++ Development User Guide</title>
|
||||
<title>C/C++ Development Toolkit User Guide</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
|
||||
<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>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt="">Importing an Existing Project Tutorial<br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt="">Debug Tutorial<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>
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
|
||||
<script language="JavaScript">
|
||||
var first = 0;
|
||||
var last = 21;
|
||||
var last = 22;
|
||||
var position = 0;
|
||||
|
||||
var cdt_w_basicText= new Array(22)
|
||||
var cdt_w_basicText= new Array(23)
|
||||
cdt_w_basicText[0]='cdt_w_basic01.htm';
|
||||
cdt_w_basicText[1]='cdt_w_basic02.htm';
|
||||
cdt_w_basicText[2]='cdt_w_basic03.htm';
|
||||
|
@ -34,8 +34,10 @@ cdt_w_basicText[18]='cdt_w_basic19.htm';
|
|||
cdt_w_basicText[19]='cdt_w_basic20.htm';
|
||||
cdt_w_basicText[20]='cdt_w_basic21.htm';
|
||||
cdt_w_basicText[21]='cdt_w_basic22.htm';
|
||||
cdt_w_basicText[22]='cdt_w_basic23.htm';
|
||||
|
||||
var cdt_w_basicPic= new Array(22)
|
||||
|
||||
var cdt_w_basicPic= new Array(23)
|
||||
cdt_w_basicPic[0]='../images/cdt_w_basic01.png';
|
||||
cdt_w_basicPic[1]='../images/cdt_w_basic02.png';
|
||||
cdt_w_basicPic[2]='../images/cdt_w_basic03.png';
|
||||
|
@ -49,7 +51,7 @@ cdt_w_basicPic[9]='../images/cdt_w_basic10.png';
|
|||
cdt_w_basicPic[10]='../images/cdt_w_basic11.png';
|
||||
cdt_w_basicPic[11]='../images/cdt_w_basic12.png';
|
||||
cdt_w_basicPic[12]='../images/cdt_w_basic13.png';
|
||||
cdt_w_basicPic[13]='../images/cdt_w_basic14.gif';
|
||||
cdt_w_basicPic[13]='../images/cdt_w_basic14.png';
|
||||
cdt_w_basicPic[14]='../images/cdt_w_basic15.png';
|
||||
cdt_w_basicPic[15]='../images/cdt_w_basic16.png';
|
||||
cdt_w_basicPic[16]='../images/cdt_w_basic17.png';
|
||||
|
@ -58,8 +60,9 @@ cdt_w_basicPic[18]='../images/cdt_w_basic19.png';
|
|||
cdt_w_basicPic[19]='../images/cdt_w_basic20.png';
|
||||
cdt_w_basicPic[20]='../images/cdt_w_basic21.png';
|
||||
cdt_w_basicPic[21]='../images/cdt_w_basic22.png';
|
||||
cdt_w_basicPic[22]='../images/cdt_w_basic23.png';
|
||||
|
||||
var screenText= new Array(21)
|
||||
var screenText= new Array(23)
|
||||
screenText[0]='Eclipse Workbench';
|
||||
screenText[1]='Opening the C/C++ Perspective';
|
||||
screenText[2]='The C++ Perspective';
|
||||
|
@ -68,30 +71,32 @@ screenText[4]='New Project Wizard';
|
|||
screenText[5]='New Managed Make C++ Project';
|
||||
screenText[6]='Select a Target';
|
||||
screenText[7]='Error Parser Configuration';
|
||||
screenText[8]='New C++ Project in the Workbench';
|
||||
screenText[9]='Create a New File';
|
||||
screenText[10]='New File Wizard';
|
||||
screenText[11]='New File in the Workbench';
|
||||
screenText[12]='Entering Code in the New .cpp File';
|
||||
screenText[13]='Stepping Through the Code in Outline View';
|
||||
screenText[14]='Save the File';
|
||||
screenText[15]='Displaying New Executables in the Projects View';
|
||||
screenText[16]='Selecting Run from the Menu';
|
||||
screenText[17]='Run Wizard';
|
||||
screenText[18]='Selecting the Program to Run';
|
||||
screenText[19]='Run Configuration';
|
||||
screenText[20]='Console View with Program Running';
|
||||
screenText[21]='Console View with Program Terminated';
|
||||
screenText[8]='C/C++ Indexer Configuration';
|
||||
screenText[9]='New C++ Project in the Workbench';
|
||||
screenText[10]='Create a New File';
|
||||
screenText[11]='New File Wizard';
|
||||
screenText[12]='New File in the Workbench';
|
||||
screenText[13]='Entering Code in the New .cpp File';
|
||||
screenText[14]='Stepping Through the Code in Outline View';
|
||||
screenText[15]='Save the File';
|
||||
screenText[16]='Displaying New Executables in the Projects View';
|
||||
screenText[17]='Selecting Run from the Menu';
|
||||
screenText[18]='Run Wizard';
|
||||
screenText[19]='Selecting the Program to Run';
|
||||
screenText[20]='Run Configuration';
|
||||
screenText[21]='Console View with Program Running';
|
||||
screenText[22]='Console View with Program Terminated';
|
||||
|
||||
|
||||
|
||||
function nav_a() {
|
||||
document.back.src='../images/back.gif';
|
||||
document.back.src='../images/icon_back.png';
|
||||
document.back.title='Back';
|
||||
|
||||
document.home.src='../images/home.gif';
|
||||
document.home.src='../images/icon_previous.png';
|
||||
document.home.title='Start Over';
|
||||
|
||||
document.next.src='../images/next.gif';
|
||||
document.next.src='../images/icon_forward.png';
|
||||
document.next.title='Next';
|
||||
};
|
||||
|
||||
|
@ -102,15 +107,15 @@ function nav_b() {
|
|||
document.home.src='../images/trans.gif';
|
||||
document.home.title='';
|
||||
|
||||
document.next.src='../images/next.gif';
|
||||
document.next.src='../images/icon_forward.png';
|
||||
document.next.title='Next';
|
||||
};
|
||||
|
||||
function nav_e() {
|
||||
document.back.src='../images/back.gif';
|
||||
document.back.src='../images/icon_back.png';
|
||||
document.back.title='Back';
|
||||
|
||||
document.home.src='../images/home.gif';
|
||||
document.home.src='../images/icon_previous.png';
|
||||
document.home.title='Start Over';
|
||||
|
||||
document.next.src='../images/trans.gif';
|
||||
|
@ -147,12 +152,12 @@ function goBack() {
|
|||
<body>
|
||||
<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>
|
||||
<IFRAME name=textFrame SRC="cdt_w_basic01.htm" TITLE="cdt_w_basic Text" MARGINWIDTH=0 MARGINHEIGHT=0 width=800 height=180 frameborder=0 SCROLLING=auto></IFRAME>
|
||||
<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>
|
||||
<td><img src="../images/next.gif" align="right" width="16" height="16" onClick="goNext();" title="Next" name="next" ></td>
|
||||
<td><img src="../images/trans.gif" align="left" width="22" height="22" onClick="goBack();" title="" name="back"></td>
|
||||
<td><center><img src="../images/trans.gif" width="22" height="22" onClick="reset();" title="" name="home"></center></td>
|
||||
<td><img src="../images/icon_forward.png" align="right" width="22" height="22" onClick="goNext();" title="Next" name="next" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><img src="../images/cdt_w_basic01.png" align="center" width="800" height="600" alt="Eclipse Logo" name="screen" ></p>
|
||||
|
|
|
@ -5,13 +5,16 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>C/C++ Perspective</h3>
|
||||
|
||||
<p>This is the C/C++ Perspective, notice the C/C++ Projects view on the left, and the Outline view has moved to the right. The center area is reserved for your <b>Edit</b> view.</p>
|
||||
<p>There may be other views available in your workbench such as the <b>Navigator</b> or <b>Make Targets</b> views. You can close them if you wish; they will not be used in this tutorial.
|
||||
You can open them again later by clicking <b>Window > Show View</b> and reselecting them.
|
||||
<p>This is the <a href="javascript:void(0)" onClick="newWin('../concepts/cdt_c_perspectives.htm')">C/C++ Perspective</a>, notice the C/C++ Projects view on the left, and the Outline view has moved to the right. The center area is reserved for your <b>Edit</b> view.</p>
|
||||
<p>There may be other views available in your workbench such as the <b>Navigator</b> or <b>Make Targets</b> views.
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -5,11 +5,15 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a project</h3>
|
||||
|
||||
<p>You can now create a C/ C++ project by clicking <b>File > New > Project</b>.</p>
|
||||
<p>You can now create a <a href="javascript:void(0)" onClick="newWin('../concepts/cdt_c_projects.htm')">C/ C++ project </a>by clicking <b>File > New > Project</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -9,7 +9,7 @@
|
|||
<body>
|
||||
<h3>New Project Wizard</h3>
|
||||
|
||||
<p>You will now see the <b>New Project</b> wizard. Open a C or C++ project and select Standard Make or Managed Make project.
|
||||
<p>You will now see the <b>New Project</b> wizard. Open a C or C++ project and select Managed Make project.
|
||||
A Standard Make C/C++ project requires you to provide a makefile, a Managed Make project will create one for you.</p>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<h3>Select a Target</h3>
|
||||
<p>Select the Deployment Platform and Configuration(s) for your project.</p>
|
||||
<p>Select the Executable Build Target, appropriate for your operating system.</p>
|
||||
<p>Click <b>Next</b>.</p>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<body>
|
||||
<h3>Additional Project Settings</h3>
|
||||
<p>Click the <b>Error Parsers</b> tab, select the Error Parsers you require for the project.
|
||||
You can also change the order in which Error Parsers are called.</p>
|
||||
You can also change the order in which Error Parsers are called. You can select all of them if you choose.</p>
|
||||
<p>Click <b>Finish</b> to close the dialog box.</p>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>New Project</h3>
|
||||
|
||||
<p>You should now see the new project in the C/C++ Projects view.</p>
|
||||
<h3>Additional Project Settings</h3>
|
||||
<p>Click the <b>C/C++ Indexer</b> tab, ensure Enable C/C++ Indexing is selected, otherwise search capabilities, and other tools that require search, will be disabled for your project.
|
||||
<p>Click <b>Finish</b> to close the dialog box.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -6,16 +6,12 @@
|
|||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<h3>Enter code</h3>
|
||||
<h3>New Project Files</h3>
|
||||
|
||||
<p>You should now see the new file located in the Projects View under the project, and the new file should be open in the <b>Editor</b> view.</p>
|
||||
|
||||
|
||||
<p>Enter the code in the cpp file that was just created. You can get the code shown below click <a href="javascript:void(0)" onClick="newWin('hw_example.htm')">here</a>.</p>
|
||||
<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>
|
|
@ -7,10 +7,11 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Save the file</h3>
|
||||
<h3>Step through the code</h3>
|
||||
|
||||
<p>You will also see the <b>Outline</b> view has also been populated with objects created from your code. </p>
|
||||
<p>If you select an item from the <b>Outline</b> view the corresponding text in the editor is highlighted.</p>
|
||||
|
||||
<p>Now save the cpp file, if you have <b>Build Automatically</b> selected under your <b>Projects</b> menu list, you can read through the build messages in the <b>Console</b> view.</p>
|
||||
<p>If <b>Build Automatically</b> is not selected, after you save the file you can build by typing <b>CTRL+B</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,11 +7,11 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>View Executable</h3>
|
||||
|
||||
<p>Navigate to the <b>C/C++ Projects</b> view and expand the Binary object, you will now see the executables listed.
|
||||
If you selected Debug options in your Makefile (as are default in a Managed Make project), the executables will be listed there as well. <p>
|
||||
<h3>Save the file</h3>
|
||||
|
||||
<p>Now save the main.cpp file, and build your project by typing <b>CTRL+B</b>.</p>
|
||||
<p>You can read through the build messages in the <b>Console</b> view, the project should build successfully showing the following message:</br>
|
||||
<tt>Build complete for project HelloWorld</tt></p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,9 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Run the application</h3>
|
||||
<h3>View Executable</h3>
|
||||
|
||||
<p>You can run your application within the C/C++ Perspective, to do so click <b>Run > Run</b>.<p>
|
||||
<p>Navigate to the <b>C/C++ Projects</b> view and expand the Binary object, you will now see the executables listed if you selected Debug options in your Makefile (default for a Managed Make project). <p>
|
||||
|
||||
|
||||
</body>
|
||||
|
|
|
@ -7,9 +7,12 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Run complete</h3>
|
||||
<h3>Console View</h3>
|
||||
|
||||
<p>The title bar in the <b>Console</b> view will show you when the program has terminated.</p>
|
||||
<p>You should now see the application running in the <b>Console</b> view.
|
||||
The <b>Console</b> will also show which application is running in a title bar.
|
||||
You will notice that the view can be configured to display different elements (such as user input elements) in different colors.</p>
|
||||
<p>Type in your name and hit Enter.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -11,26 +11,10 @@
|
|||
|
||||
<h1>How to bring C/C++ source files into Eclipse</h1>
|
||||
|
||||
<p>A common scenario that you may encounter when starting to use the CDT, is
|
||||
determining how
|
||||
<p>A common scenario that you may encounter when starting to use the CDT, is determining how
|
||||
to bring existing C/C++ source files into Eclipse. There are a number of ways to
|
||||
do this. The scenarios described below are recommended approaches.</p>
|
||||
|
||||
<h2>Create new projects for existing source roots</h2>
|
||||
|
||||
<p>If you can access the source from your desktop using the command
|
||||
line, then you can make the root source folders Eclipse projects. This is accomplished by
|
||||
creating a C/C++ Standard Make Project. For more information, see
|
||||
<a href="../tasks/cdt_t_proj_new.htm">Creating a project</a> and
|
||||
<a href="../tasks/cdt_o_proj_prop.htm">Defining project properties</a>.</p>
|
||||
|
||||
<p>The resources for the project are maintained in the remote location specified,
|
||||
not in the workspace folder for Eclipse. However, your existing folder structure
|
||||
is displayed in the C/C++ Projects view. Meta data for the project, such as the
|
||||
index for the project and the link to the existing source, is stored in the metadata
|
||||
directory in the workspace folder. For more information on the workspace folder,
|
||||
see <b>Workbench User Guide > Tasks > Importing > Upgrading Eclipse</b>.</p>
|
||||
|
||||
<h2>Create a project from CVS</h2>
|
||||
|
||||
<p>If your existing source tree is managed in CVS, you can use the CVS
|
||||
|
@ -38,9 +22,41 @@ Repository perspective to "Checkout As..." any folder in the repositor
|
|||
The first time you "Checkout As...", the New Project wizard is launched and you need to
|
||||
create a C or C++ project for the folder. For more information, see
|
||||
<a href="../tasks/cdt_t_proj_new.htm">Creating a project</a> and
|
||||
<a href="../tasks/cdt_o_proj_prop.htm">Defining project properties</a>.</p>
|
||||
<a href="../tasks/cdt_o_proj_files.htm">Working with C/C++ project files</a>.</p>
|
||||
|
||||
<p>A CVS checkout of the project into the project's location occurs.</p>
|
||||
<p>A CVS checkout of the project into the project's location occurs. It is recommended that you eventually add and commit the CDT project files aback into CVS.
|
||||
The CDT project files include .project, .cdtproject and .cdtbuild (for Managed Build projects) and are located at the root folder of each CDT project.</p>
|
||||
|
||||
|
||||
<h2>Create new projects from existing source roots</h2>
|
||||
|
||||
If your resource code is not managed in CVS but is available from the file system, then you need to perform two steps:
|
||||
<ol>
|
||||
<li>Identify a "root folder" of your source code tree.</li>
|
||||
<li>Create a new C/C++ project using the New Project Wizard, and specify the "root folder" as a non-default location of the new project.</li>
|
||||
</ol>
|
||||
<p>Typically existing projects will have their own makefiles, so you should create a new Standard Make C/C++ project. For more information see
|
||||
<a href="../tasks/cdt_t_proj_new.htm">Creating a project</a> and
|
||||
<a href="../tasks/cdt_o_proj_files.htm">Working with C/C++ project files</a>.</p>
|
||||
|
||||
<p>To help you to identify a root folder for your project, consider the following guidelines:
|
||||
<ul>
|
||||
<li>all source code for the project is available on or beneath the root folder</li>
|
||||
<li>the build results are also produced in or beneath the root folder</li>
|
||||
<li>there is often a makefile in the root folder. In complex projects, the makefile in the root folder calls other makefiles in other directories to produce the build results.</li>
|
||||
<li>external header files and library files do not need to be in or beneath the root folder.</li>
|
||||
</ul></p>
|
||||
|
||||
<p>The resources for the project are maintained in the remote location specified,
|
||||
not in the workspace folder for Eclipse. However, your existing folder structure
|
||||
is displayed in the C/C++ Projects view. Meta data for the project, such as the
|
||||
index for the project and the link to the existing source, is stored in the metadata
|
||||
directory in the workspace folder. For more information on the workspace folder,
|
||||
see <b>Workbench User Guide > Tasks > Upgrading Eclipse</b>.</p>
|
||||
|
||||
Once you create a CDT project, you cannot easily move it or redefine its root folders.
|
||||
If you need to, you can delete the CDT project (without deleting its contents) and then
|
||||
recreate it specifying a different non-default location.
|
||||
|
||||
<h2>Import your C/C++ source file system</h2>
|
||||
|
||||
|
@ -50,20 +66,21 @@ existing file system.
|
|||
For more information, see <b>Workbench User Guide > Tasks > Importing >
|
||||
Importing resources from the file system</b>.</p>
|
||||
|
||||
<p>This approach copies the files from your file system to an Eclipse Workbench
|
||||
<p>This approach copies the files from your file system to an Eclipse Workbench
|
||||
project or folder. Your original source files remain unchanged and it is the
|
||||
copies of the files that will be edited, built and debugged using the CDT.
|
||||
When you have successfully imported your existing file system, the folder
|
||||
structure is displayed in the C/C++ Projects view.</p>
|
||||
structure is displayed in the C/C++ Projects view. Again, you should identify an
|
||||
appropriate "root folder" to import from.</p>
|
||||
|
||||
<p><b>Tip:</b></p>
|
||||
<p><b>Tip:</b>
|
||||
|
||||
<ul>
|
||||
<li>Importing your existing file system can consume significant disk space
|
||||
depending on the size of your files.</li>
|
||||
<li>Your files may become detached from an existing source control system that
|
||||
previously referenced the original file location such as a ClearCase view.</li>
|
||||
</ul>
|
||||
</ul></p>
|
||||
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
<br>
|
||||
|
|
|
@ -24,43 +24,45 @@ function changeSize(theImage,wd,ht) {
|
|||
|
||||
<ol>
|
||||
<li>Click <b>Help > Software Updates > Find and Install</b>.<br>
|
||||
<img src="../images/cdt_update_find-install.png" width="319" height="85" onClick="changeSize(this,319,85);"
|
||||
alt="Screen Capture of Help Find Install Menu selection" title="click to toggle image size"></li>
|
||||
<li>Select <b>Search for new features to install</b> in the Install dialog box.<br>
|
||||
<img src="../images/cdt_update_install_new.png" width="221" height="126" onClick="changeSize(this,221,126);"
|
||||
alt="Screen Capture of Install New Feature dialog box" title="click to toggle image size"></li>
|
||||
<img src="../images/cdt_update_find-install.png" alt="Help, Software Updates, Find and Install Menu selection"><br> </li>
|
||||
|
||||
<li>In the <b>Feature Updates</b> window select <b>Search for new features to install</b> and click <b>Next</b>.<br>
|
||||
<img src="../images/cdt_update_install_new.png" alt="Feature Updates dialog box"><br> </li>
|
||||
|
||||
|
||||
<li>If you have not updated previously, you will have to enter the location of the CDT Install site. Click
|
||||
the <b>Add Update Site...</b> button.<br>
|
||||
<img src="../images/cdt_update_install_sites.png" width="221" height="200" onClick="changeSize(this,221,200);"
|
||||
alt="Screen Capture of Install Sites dialog box" title="click to toggle image size"></li>
|
||||
<img src="../images/cdt_update_install_sites.png" alt="Add Update Sites dialog box"><br> </li>
|
||||
|
||||
<li>In the New Update Site dialog box, enter a name and the URL for the update site in the spaces provided.<br>
|
||||
<img src="../images/cdt_update_install_new_sites.png" width="220" height="200" onClick="changeSize(this,220,200);"
|
||||
alt="Screen Capture of Install New Site dialog box" title="click to toggle image size"></li>
|
||||
<img src="../images/cdt_update_install_new_sites.png" alt="Install New Site dialog box"><br> </li>
|
||||
|
||||
<li>Select the update site you just created by clicking the appropriate checkbox and click <b>Next</b>.<br>
|
||||
<img src="../images/cdt_update_install_cdt_site.png" width="220" height="200" onClick="changeSize(this,220,200);"
|
||||
alt="Screen Capture of Install Sites dialog box with the CDT site selcted" title="click to toggle image size"></li>
|
||||
<img src="../images/cdt_update_install_cdt_site.png" alt="Install Sites dialog box with the CDT site selcted"><br> </li>
|
||||
|
||||
<li>A dialog box will appear showing the updates available from the update site, select each of the following features,
|
||||
ensuring you have precisely the same version for each one:
|
||||
<ul>
|
||||
<li>Eclipse C/C+ Development Tooling SDK</li>
|
||||
<li>Eclipse C/C+ Development Tools</li>
|
||||
<li>Eclipse C/C+ Manage Make Build</li>
|
||||
<li>Eclipse C/C+ Standard Make Build</li>
|
||||
</ul>
|
||||
Then click <b>Next</b>.<br>
|
||||
<img src="../images/cdt_update_search_results.png" width="289" height="201" onClick="changeSize(this,289,201);"
|
||||
alt="Screen Capture of Search Results dialog box" title="click to toggle image size"></li>
|
||||
<img src="../images/cdt_update_search_results.png" alt="Search Results dialog box"><br> </li>
|
||||
|
||||
<li>You should now see the Eclipse.org Software User Agreement, you must accept the agreement to install the CDT update.
|
||||
Do so by selecting <b>I accept the terms in the license agreement</b> and then click <b>Next</b>.<br>
|
||||
<img src="../images/cdt_update_license_agreement.png" width="365" height="200" onClick="changeSize(this,365,200);"
|
||||
alt="Screen Capture of the Feature License dialog box" title="click to toggle image size"></li>
|
||||
<img src="../images/cdt_update_license_agreement.png" alt="Feature License dialog box"><br> </li>
|
||||
|
||||
<li>Now select the location you would like the updates installed, usually this is the directory where you installed Eclipse,
|
||||
and click <b>Finish</b>.<br>
|
||||
<img src="../images/cdt_update_location.png" width="300" height="200" onClick="changeSize(this,300,200);"
|
||||
alt="Screen Capture of Install Location dialog box" title="click to toggle image size"></li>
|
||||
<img src="../images/cdt_update_location.png" alt="Install Location dialog box"><br> </li>
|
||||
|
||||
<li>You will now start downloading the CDT components. You will have to verify that you want the features installed by clicking
|
||||
<b>Install</b> for each feature you selected.<br>
|
||||
<img src="../images/cdt_update_jar_verification.png" width="300" height="250" onClick="changeSize(this,300,250);"
|
||||
alt="Screen Capture of Feature Verification dialog box" title="click to toggle image size"></li>
|
||||
<img src="../images/cdt_update_jar_verification.png"alt="Feature Verification dialog box"><br> </li>
|
||||
|
||||
<li>You will now have to restart Eclipse, select <b>Yes</b> to complete the update.<br>
|
||||
<img src="../images/cdt_restart.png" alt="Install/Update prompt to restart Eclipse">
|
||||
</ol>
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
<br>
|
||||
|
|
|
@ -6,14 +6,6 @@
|
|||
<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>
|
||||
|
@ -37,20 +29,17 @@ To reset the current perspective to its original layout, from the menu bar choos
|
|||
<ol>
|
||||
<br><li>Open the Workbench preferences: from the menu bar, select <b>Window > 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>
|
||||
<p><img src="../images/editor_general_preferences.png" alt="C/C++ Editor Preferences General page"></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">
|
||||
<img src="../images/editor_color_preferences.png" alt="C/C++ Editor Preferences Color page">
|
||||
|
||||
<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">
|
||||
<img src="../images/contentAssist_preferences.png" alt="C/C++ Editor Preferences Content Assist page">
|
||||
<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>
|
||||
|
@ -67,4 +56,4 @@ For example, you may want to enable <b>Show line numbers</b> or you may want to
|
|||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
|
@ -105,13 +105,13 @@ screenText[27]='Console View with Program Terminated';
|
|||
|
||||
|
||||
function nav_a() {
|
||||
document.back.src='../images/back.gif';
|
||||
document.back.src='../images/icon_back.png';
|
||||
document.back.title='Back';
|
||||
|
||||
document.home.src='../images/home.gif';
|
||||
document.home.src='../images/icon_previous.png';
|
||||
document.home.title='Start Over';
|
||||
|
||||
document.next.src='../images/next.gif';
|
||||
document.next.src='../images/icon_forward.png';
|
||||
document.next.title='Next';
|
||||
};
|
||||
|
||||
|
@ -122,15 +122,15 @@ function nav_b() {
|
|||
document.home.src='../images/trans.gif';
|
||||
document.home.title='';
|
||||
|
||||
document.next.src='../images/next.gif';
|
||||
document.next.src='../images/icon_forward.png';
|
||||
document.next.title='Next';
|
||||
};
|
||||
|
||||
function nav_e() {
|
||||
document.back.src='../images/back.gif';
|
||||
document.back.src='../images/icon_back.png';
|
||||
document.back.title='Back';
|
||||
|
||||
document.home.src='../images/home.gif';
|
||||
document.home.src='../images/icon_previous.png';
|
||||
document.home.title='Start Over';
|
||||
|
||||
document.next.src='../images/trans.gif';
|
||||
|
@ -170,9 +170,9 @@ function goBack() {
|
|||
<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="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>
|
||||
<td><img src="../images/next.gif" align="right" width="16" height="16" onClick="goNext();" title="Next" name="next" ></td>
|
||||
<td><img src="../images/trans.gif" align="left" width="22" height="22" onClick="goBack();" title="" name="back"></td>
|
||||
<td><center><img src="../images/trans.gif" width="22" height="22" onClick="reset();" title="" name="home"></center></td>
|
||||
<td><img src="../images/icon_forward.png" align="right" width="22" height="22" onClick="goNext();" title="Next" name="next" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><img src="../images/cdt_w_standard01.png" align="center" width="800" height="600" alt="Eclipse Logo" name="screen" ></p>
|
||||
|
|
|
@ -4,14 +4,16 @@
|
|||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>C/C++ Perspective</h3>
|
||||
|
||||
<p>This is the C/C++ Perspective, notice the C/C++ Projects view on the left, and the Outline view has moved to the right. The center area is reserved for your <b>Edit</b> view.</p>
|
||||
<p>There may be other views available in your workbench such as the <b>Navigator</b> or <b>Make Targets</b> views. You can close them if you wish; they will not be used in this tutorial.
|
||||
You can open them again later by clicking <b>Window > Show View</b> and reselecting them.
|
||||
<p>This is the <a href="javascript:void(0)" onClick="newWin('../concepts/cdt_c_perspectives.htm')">C/C++ Perspective</a>, notice the C/C++ Projects view on the left, and the Outline view has moved to the right. The center area is reserved for your <b>Edit</b> view.</p>
|
||||
<p>There may be other views available in your workbench such as the <b>Navigator</b> or <b>Make Targets</b> views.
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -5,11 +5,15 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a project</h3>
|
||||
|
||||
<p>You can now create a C/ C++ project by clicking <b>File > New > Project</b>.</p>
|
||||
<p>You can now create a <a href="javascript:void(0)" onClick="newWin('../concepts/cdt_c_projects.htm')">C/ C++ project </a>by clicking <b>File > New > Project</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,11 +7,11 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Make Builder Settings</h3>
|
||||
<h3>Project Refereneces</h3>
|
||||
|
||||
<p>Click the <b>Make Builder</b> tab. Depending on your operating environment, you may need to change your <b>Build Command</b> from default. Deselect the<b> Use default</b> checkbox and
|
||||
enter the build command in the text box. It is recommended you leave the <b>Build on resource save</b> unchecked, otherwise whenever a file is
|
||||
saved in your project the project will perform a build which can become time consuming for large projects.</p>
|
||||
<p>Now you will select your preferences for the project. <p>
|
||||
<p>This page is where you would select other referenced C/C++ projects,
|
||||
since this is a simple Hello World project you will not need to make any selections here.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,9 +7,10 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Error Parsers</h3>
|
||||
<p>Click the <b>Error Parsers</b> tab, select the Error Parsers you require for the project.
|
||||
You can also change the order in which Error Parsers are called.</p>
|
||||
<h3>Make Builder Settings</h3>
|
||||
|
||||
<p>Click the <b>Make Builder</b> tab. If your build environment has a build command that is not <tt>make</tt>, you need to change your <b>Build Command</b> from the default.
|
||||
To do so deselect the <b>Use default</b> checkbox and enter the build command in the text box.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,11 +7,10 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Binary Parser Settings</h3>
|
||||
<p>Click the <b>Binary Parser</b> tab, select the Binary Parsers you require for the project.
|
||||
<p>To ensure the accuracy of the C/C++ Projects view and the ability to successfully run and debug your programs.
|
||||
After you select the correct parser for your development environment and build your project, you can view the symbols of the .o file in the C/C++ Projects view.</p>
|
||||
|
||||
<h3>Error Parsers</h3>
|
||||
<p>Click the <b>Error Parsers</b> tab, select the Error Parsers you require for the project.
|
||||
You can also change the order in which Error Parsers are called.</p>
|
||||
<p>By default you can leave all parsers selected.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,12 +7,12 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Paths and Symbols</h3>
|
||||
<p>Click the <b>Paths and Symbols</b> tab, you can define include paths and preprocessor symbols for the parser.
|
||||
This enables the parser to understand the contents of the C/C++ source
|
||||
code so that you may more effectively use the search and code completion
|
||||
features. Include paths are also used by the builder to locate files that
|
||||
are not in the workspace.</p>
|
||||
<h3>Binary Parser Settings</h3>
|
||||
<p>Click the <b>Binary Parser</b> tab, select the Binary Parsers you require for the project, and in which order they are to be used.
|
||||
<p>It is important you chose the proper parser settings to ensure the accuracy of the <b>C/C++ Projects</b> view and the ability to
|
||||
successfully run and debug your programs.
|
||||
After you select the correct parser for your development environment and build your project,
|
||||
you can view the symbols of the .o file in the <b>C/C++ Projects</b> view.</p>
|
||||
|
||||
|
||||
</body>
|
||||
|
|
|
@ -7,9 +7,11 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Indexer</h3>
|
||||
|
||||
<p>You can enable or disable the indexer here. The indexer is necessary for search and related features, like content assist.</p>
|
||||
<h3>Discovery Options</h3>
|
||||
<p>Click the <b>Discovery Options</b> tab. This page defines the configuration for autodiscovery of include paths and preprocessor symbols for the parser which
|
||||
enables the parser to understand the contents of the C/C++ source code so that you may more effectively use the search and code completion features.
|
||||
Include paths are also used by the builder to locate files that are not in the workspace.</p>
|
||||
<p>Select the <b>Automate scanner configuration discovery</b> checkbox to configure the scanner discovery to run automatically.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,10 +7,11 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>New Project</h3>
|
||||
|
||||
<p>You should now see the new project in the C/C++ Projects view.</p>
|
||||
<h3>C/C++ Indexer</h3>
|
||||
|
||||
<p>You can enable or disable the C/C++ Indexer here.
|
||||
The indexer is necessary for search and related features, like content assist and refactoring.
|
||||
While there may be situations where the indexer is not required, for this project you can leave it enabled.</p>
|
||||
<p>When you have completed setting your C/C++ project preferences, click <b>Finish</b>.
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -7,10 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a file</h3>
|
||||
<h3>Create a makefile</h3>
|
||||
|
||||
<p>You should now see the <b>New File</b> wizard.</p>
|
||||
<p>Enter the name of your file in the <b>File name</b> text area then click <b>Finish</b>.</p>
|
||||
<p>Create the makefile by right clicking your project and selecting <b>New > File</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,9 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a makefile</h3>
|
||||
<h3>New Makefile</h3>
|
||||
|
||||
<p>Create a new makefile by right clicking your project and selecting <b>New > File</b>.</p>
|
||||
<p>You should now see the new makefile located in the <b>Projects</b> view under the project, and the makefile should be open in the <b>Editor</b> view.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -5,12 +5,18 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'make_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a makefile</h3>
|
||||
<h3>Enter the make script</h3>
|
||||
|
||||
<p>You should now see the <b>New File</b> wizard.</p>
|
||||
<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>
|
||||
<p>Enter the build instruction for your <a href="javascript:void(0)" onClick="newWin('make_example.htm')" title="Click here to get the code">makefile</a> that was just created.
|
||||
When you enter the code 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>
|
||||
|
||||
<p><i>Note: Ensure you have tabs, not spaces before your indented code, as </i><tt>make</tt><i> will not accept spaces before commands.</i></p>
|
||||
</body>
|
||||
</html>
|
|
@ -7,9 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>New Makefile</h3>
|
||||
<h3>Create a CPP file</h3>
|
||||
|
||||
<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>
|
||||
<p>Create the main.cpp file by right clicking your project and selecting <b>New > File</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -5,16 +5,12 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'make_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Enter the make script</h3>
|
||||
<h3>Create a CPP file</h3>
|
||||
|
||||
<p>You should now see the <b>New File</b> wizard.</p>
|
||||
<p>Enter <b>main.cpp</b> in the <b>File name</b> text area then click <b>Finish</b>.</p>
|
||||
|
||||
<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>
|
|
@ -5,18 +5,13 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Enter code</h3>
|
||||
<h3>New Project Files</h3>
|
||||
|
||||
<p>You should now see the <b>main.cpp</b> file located in the <b>Projects</b> view under the project,
|
||||
and the <b>main.cpp</b> file should be open in the <b>Editor</b> view..</p>
|
||||
|
||||
<p>Enter the code in the cpp file that was just created. You can get the code shown below click <a href="javascript:void(0)" onClick="newWin('hw_example.htm')">here</a>.</p>
|
||||
<p><i>Note: Leave a blank line at the end of the code, some compilers require one.</i></p>
|
||||
<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>
|
|
@ -5,13 +5,19 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Save the files</h3>
|
||||
<h3>Enter code</h3>
|
||||
|
||||
<p>Now save the makefile and cpp file, if you have <b>Build Automatically</b> selected under your <b>Projects</b> menu list, you can read through the build messages in the <b>Console</b> view.</p>
|
||||
<p>If <b>Build Automatically</b> is not selected, after you save the file you can build by typing <b>CTRL+B</b>.</p>
|
||||
<p>Enter the code in the <a href="javascript:void(0)" onClick="newWin('hw_example.htm')" title="click here to get the code">main.cpp</a> file that was just created.
|
||||
You can double click the <b>main.cpp</b> tab in the <b>Editor</b> view to expand the view. </p>
|
||||
|
||||
<p><i>Note: Leave a blank line at the end of the code, some compilers require one.</i></p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,13 +7,10 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Run the application</h3>
|
||||
|
||||
<p>Navigate to the <b>C/C++ Projects</b> view, you will now see the executables listed. </p>
|
||||
|
||||
<p>You can run your application within the C/C++ Perspective, to do so click <b>Run > Run</b>.</p>
|
||||
|
||||
<h3>Build the project</h3>
|
||||
|
||||
<p>Save the <b>makefile</b> and <b>main.cpp</b> files by selecting them and typing <b>CTRL+S</b>, and then build your project by typing <b>CTRL+B</b>. </p>
|
||||
<p>You can read through the build messages in the <b>Console</b> view, if there are any errors in the code you can review them in the <b>Problems</b> view.</p>
|
||||
|
||||
|
||||
</body>
|
||||
|
|
|
@ -7,9 +7,8 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Program Selection</h3>
|
||||
|
||||
<p>The <b>Program Selection</b> dialog box will appear, select the executable you would like to run and click <b>OK</b>.<p>
|
||||
<h3>Run Configuration</h3>
|
||||
<p>Select the new Run Configuration in the <b>Configurations:</b> view and click the <b>Main</b> tab. This is where you select your C/C++ Application.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,11 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Run Configuration</h3>
|
||||
|
||||
<p>The executable file should appear in the <b>C/C++ Application</b> text area.</p>
|
||||
<p>Click <b>Apply</b>, and then click <b>Run</b> to run the application.</p>
|
||||
<h3>Program Selection</h3>
|
||||
|
||||
<p>Enter <b>hello.exe</b> in the <b>C/C++ Application</b> field then click <b>Apply</b> and then <b>Run</b>.<p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -9,8 +9,10 @@
|
|||
<body>
|
||||
<h3>Console View</h3>
|
||||
|
||||
<p>You should now see the application running in the <b>Console</b> view. The <b>Console</b> will also show which application is running in a title bar.</p>
|
||||
<p>You will notice that the view can be configured to display different elements (such as user input elements) in different colors.</p>
|
||||
<p>You should now see the application running in the <b>Console</b> view.
|
||||
The <b>Console</b> will also show which application is running in a title bar.
|
||||
You will notice that the view can be configured to display different elements (such as user input elements) in different colors.</p>
|
||||
<p>Type in your name and hit Enter.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 3.2 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/add_preprocessor_symbol.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/build_make_targets.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/build_manage.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/c_path_symbols_edit.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/c_paths_symbols.png
Normal file
After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 9.4 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/cdt_open_type.png
Normal file
After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 18 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/cdt_refactor.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/cdt_refactor_undo.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/cdt_restart.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 39 KiB |
BIN
doc/org.eclipse.cdt.doc.user/images/cdt_w_basic23.png
Normal file
After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |