1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 22:35:43 +02:00

From Dave Williams:

Doc update, fixes to various docs, new tutorial.
This commit is contained in:
David Daoust 2004-05-05 12:45:42 +00:00
parent 190a4343ae
commit 3888fd21dd
72 changed files with 694 additions and 29 deletions

View file

@ -9,13 +9,13 @@
<body>
<h1>CDT overview</h1>
<p>The C/C++ Development Toolkit (CDT) is a set of Eclipse plugins that provide
<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>
<p>The CDT provides a C/C++ IDE that simplifies many of the same tools that
you can use from the command line. The CDT can also communicate with many external
utilities and intepret their responses, such as:</p>
utilities and interpret their responses, such as:</p>
<ul>
<li>Build (such as make).</li>
<li>Compile (such as gcc). For more information, see
@ -49,7 +49,7 @@ for additional information about the CDT project, including the following resour
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 plugins and tools developed by and for the
<li>&nbsp;CDT community web: Learn about plug-ins and tools developed by and for the
CDT community.</li>
</ul>
@ -60,7 +60,7 @@ Eclipse installation and provides the framework to manage your updates. For more
features with the update manager</b>.</p>
<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>
installed, click <b>Help &gt; Software Updates &gt; New Updates</b>.</p>
<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>.

View file

@ -0,0 +1,165 @@
<!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>Hello World Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script>
var first = 0;
var last = 22;
var position = 0;
var cdt_w_basicText= new Array(21)
cdt_w_basicText[0]='cdt_w_basic00.htm';
cdt_w_basicText[1]='cdt_w_basic01.htm';
cdt_w_basicText[2]='cdt_w_basic02.htm';
cdt_w_basicText[3]='cdt_w_basic03.htm';
cdt_w_basicText[4]='cdt_w_basic04.htm';
cdt_w_basicText[5]='cdt_w_basic05.htm';
cdt_w_basicText[6]='cdt_w_basic06.htm';
cdt_w_basicText[7]='cdt_w_basic07.htm';
cdt_w_basicText[8]='cdt_w_basic08.htm';
cdt_w_basicText[9]='cdt_w_basic09.htm';
cdt_w_basicText[10]='cdt_w_basic10.htm';
cdt_w_basicText[11]='cdt_w_basic11.htm';
cdt_w_basicText[12]='cdt_w_basic12.htm';
cdt_w_basicText[13]='cdt_w_basic13.htm';
cdt_w_basicText[14]='cdt_w_basic14.htm';
cdt_w_basicText[15]='cdt_w_basic15.htm';
cdt_w_basicText[16]='cdt_w_basic16.htm';
cdt_w_basicText[17]='cdt_w_basic17.htm';
cdt_w_basicText[18]='cdt_w_basic18.htm';
cdt_w_basicText[19]='cdt_w_basic19.htm';
cdt_w_basicText[20]='cdt_w_basic20.htm';
cdt_w_basicText[21]='cdt_w_basic21.htm';
cdt_w_basicText[22]='cdt_w_basic22.htm';
var cdt_w_basicPic= new Array(21)
cdt_w_basicPic[0]='../images/splash.png';
cdt_w_basicPic[1]='../images/cdt_w_basic01.png';
cdt_w_basicPic[2]='../images/cdt_w_basic02.png';
cdt_w_basicPic[3]='../images/cdt_w_basic03.png';
cdt_w_basicPic[4]='../images/cdt_w_basic04.png';
cdt_w_basicPic[5]='../images/cdt_w_basic05.png';
cdt_w_basicPic[6]='../images/cdt_w_basic06.png';
cdt_w_basicPic[7]='../images/cdt_w_basic07.png';
cdt_w_basicPic[8]='../images/cdt_w_basic08.png';
cdt_w_basicPic[9]='../images/cdt_w_basic09.png';
cdt_w_basicPic[10]='../images/cdt_w_basic10.png';
cdt_w_basicPic[11]='../images/cdt_w_basic11.png';
cdt_w_basicPic[12]='../images/cdt_w_basic12.png';
cdt_w_basicPic[13]='../images/cdt_w_basic13.png';
cdt_w_basicPic[14]='../images/cdt_w_basic14.gif';
cdt_w_basicPic[15]='../images/cdt_w_basic15.png';
cdt_w_basicPic[16]='../images/cdt_w_basic16.png';
cdt_w_basicPic[17]='../images/cdt_w_basic17.png';
cdt_w_basicPic[18]='../images/cdt_w_basic18.png';
cdt_w_basicPic[19]='../images/cdt_w_basic19.png';
cdt_w_basicPic[20]='../images/cdt_w_basic20.png';
cdt_w_basicPic[21]='../images/cdt_w_basic21.png';
cdt_w_basicPic[22]='../images/cdt_w_basic22.png';
var screenText= new Array(21)
screenText[0]='Eclipse Logo';
screenText[1]='Eclipse Workbench';
screenText[2]='Opening the C/C++ Perspective';
screenText[3]='The C++ Perspective';
screenText[4]='Creating a New Project';
screenText[5]='New Project Wizard';
screenText[6]='New Managed Make C++ Project';
screenText[7]='Select a Target';
screenText[8]='Error Parser 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.title='Back';
document.home.src='../images/home.gif';
document.home.title='Start Over';
document.next.src='../images/next.gif';
document.next.title='Next';
};
function nav_b() {
document.back.src='../images/trans.gif';
document.back.title='';
document.home.src='../images/trans.gif';
document.home.title='';
document.next.src='../images/next.gif';
document.next.title='Next';
};
function nav_e() {
document.back.src='../images/back.gif';
document.back.title='Back';
document.home.src='../images/home.gif';
document.home.title='Start Over';
document.next.src='../images/trans.gif';
document.next.title='';
};
function show() {
textFrame.location.href = cdt_w_basicText[position];
document.screen.src = cdt_w_basicPic[position];
document.screen.alt = screenText[position];
}
function reset() {
position = first;
show();
nav_b();
}
function goNext() {
if ( position == first ) { nav_a(); };
if ( position < last ) { position++; show(); }
if ( position == last ) { nav_e(); }
}
function goBack() {
if ( position == last ) { nav_a(); };
if ( position > first ) { position--; show()};
if ( position == first ) { nav_b(); };
}
</script>
</head>
<body>
<h2>C/C++ Development Toolkit (CDT) Tutorial</h2>
<center>
<IFRAME name=textFrame SRC="cdt_w_basic00.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="">
<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>
</tr>
</table>
<p><img src="../images/splash.png" align="center" width="800" height="600" alt="Eclipse Logo" name="screen" ></p>
</center>
<img src="../images/ng03_04.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14">
</body>
</html>

View file

@ -0,0 +1,17 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Welcome to the CDT Tutorial</h3>
<p>We will now walk though the process of creating a simple 'Hello World' application using the CDT.</p>
<p><i>Note: This tutorial is best viewed at 1024x768 resolution or higher</i>.</p>
</body>
</html>

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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script>
function newWin(url) {
window.open(url, 'install_cdt', 'width=750, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
}
</script>
</head>
<body>
<h3>Start Eclipse</h3>
<p>The image below shows the standard Workbench. To start, open the C/C++ perspective.</p>
<p>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>

View file

@ -0,0 +1,17 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Open the C/C++ Perspective</h3>
<p>Click <b>Window > Open Perspective > C/C++</b>.</p>
<p><i>Note: If the C/C++ Perspective is not listed, select <b>Other...</b> and select it from the <b>Select Perspective</b> dialog box.</p>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</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 Edit 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.
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Create a project</h3>
<p>You can now create a C/ C++ project by clicking <b>File > New > Project</b>.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<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.
A Standard Make C/C++ project requires you to provide a makefile, a Managed Make project will create one for you.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>New Project</h3>
<p>Enter a name for the project. You can also enter a new path for your project by deselecting the <b>Use Default Location</b>
checkbox and entering the new path in the <b>Location</b> text box.</p>
<p>Click <b>Next</b>.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Select a Target</h3>
<p>Select the Deployment Platform and Configuration(s) for your project.</p>
<p>Click <b>Next</b>.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<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>
<p>Click <b>Finish</b> to close the dialog box.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>Tutorial</title>
<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>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Create a file</h3>
<p>Create a new cpp file (such as main.cpp) by right clicking your project and selecting <b>New > File</b>.</p>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Create a file</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>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<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>If <b>Build Automatically</b> is selected you may also notice some build errors in the <b>Console</b> view, this is expected since your project is currently blank,
you may also see a few other objects such as <b>Debug</b> depending on your Makefile configuration. To turn this feature off click <b>Project > Build Automatically</b>.</p>
</body>
</html>

View file

@ -0,0 +1,21 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<script>
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>
<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>

View file

@ -0,0 +1,16 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<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. Notice how quickly you can step through your code by simply clicking individual elements in the Outline View.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Save the file</h3>
<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>

View file

@ -0,0 +1,17 @@
<!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>Tutorial</title>
<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>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Run the application</h3>
<p>You can run your application within the C/C++ Perspective, to do so click <b>Run > Run</b>.<p>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Run Configuration</h3>
<p>You should now see the <b>Run Configurations</b> dialog box, navigate to the project in the <b>Configurations:</b> view, and then double click <b>C/C++ Local</b>.
This will create your Run Configuration.</p>
<p>Now click the <b>Main</b> tab and then the <b>Search</b> button.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>Tutorial</title>
<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>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!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>Tutorial</title>
<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>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<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>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h3>Run complete</h3>
<p>The title bar in the <b>Console</b> view will show you when the program has terminated.</p>
</body>
</html>

View file

@ -0,0 +1,84 @@
<!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>Updating the CDT</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script>
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>Updating the CDT</h1>
<p>The CDT can be updated directly from the workbench using your internet connection.</p>
<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>
<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>
<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>
<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>
<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 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>
<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>
<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>
<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>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_over_cdt.htm">CDT Overview</a><br>
<a href="../concepts/cdt_c_over_cdt.htm">C/C++ Development perspective</a><br>
&nbsp;</p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="cdt_o_proj_prop.htm">Defining project properties</a><br>
<a href="cdt_o_proj_files.htm">Working with C/C++ project files</a><br>
&nbsp;</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>
<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,30 @@
<!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>C++ Hello World example</title>
</head>
<body bgcolor="#ffffcc">
<font color="#0066ff">Copy the code below and paste it into the <b>main.cpp</b> file in the Editor View:</font>
<pre>
#include &#60iostream&#62
#include &#60string&#62
using namespace std;
int main()
{
string yourName;
cout << "Enter your name: ";
cin >> yourName;
cout << "Hello " + yourName << endl;
return 0;
}
</pre>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

View file

@ -28,7 +28,7 @@ function changeSize(theImage,wd,ht) {
<dt>Always clear console before building</dt>
<dd>Select this checkbox to clear the console whenever you perform a build.</dd>
<dt>Open console when building</dt>
<dd>Select this checkbox to open the colsule build when you perform a build.</dd>
<dd>Select this checkbox to open the console build when you perform a build.</dd>
<dt>Bring console to top when building (if present)</dt>
<dd>Select this checkbox to bring the build console to the front when you perform a build.</dd>
<dt>Limit console output (#lines)</dt>
@ -36,11 +36,11 @@ function changeSize(theImage,wd,ht) {
<dt>Display tab width</dt>
<dd>You can specify the number of spaces for a tab.</dd>
<dt>Output text color</dt>
<dd>You can costimize the color of text in the build console.</dd>
<dd>You can customize the color of text in the build console.</dd>
<dt>Information message text color</dt>
<dd>You can cusomize the color of information text messages in the build console.</dd>
<dd>You can customize the color of information text messages in the build console.</dd>
<dt>Error message text color</dt>
<dd>You can cusomize the color of error text messages in the build console.</dd>
<dd>You can customize the color of error text messages in the build console.</dd>
</dl>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">

View file

@ -37,8 +37,8 @@ END INFOPOP-->
<p><dt>Present proposals in alphabetical order</dt>
<dd>Proposals, by default, appear in order of relevance determined by context, scope and prefix. Alternatively, you can configure the Content Assist feature to order its proposals alphabetically.</dd>
<p><dt>Content Assist parsing timeout (in milliseconds)
<dd>For very large projects, the Content Assist feature might slow the response of the plugin as the Content Assist feature searches the project for proposals. This setting stops the Content Assist search when it reaches the specified threshold.<dd>
<p><dt>Content Assist parsing timeout (ms)
<dd>For very large projects, the Content Assist feature might slow the response of the plug-in as the Content Assist feature searches the project for proposals. This setting stops the Content Assist search when it reaches the specified threshold.<dd>
<p><dt>Auto activation</dt>
<dd>Certain predefined triggers force the Content Assist feature to activate. You can disable the predefined triggers with these checkboxes.

View file

@ -27,7 +27,7 @@ END INFOPOP-->
alt="C/C++ Main Preferences Window" title="click to toggle image size"></p>
<dl>
<dt>Link view selection to active editor</dt>
<dd>Select this checkbox to open an item selectedin the Projects view, in the Editor view.</dd>
<dd>Select this checkbox to open an item selected in the Projects view, in the Editor view.</dd>
<dt>Show file members in Project View</dt>
<dd>Select this checkbox to browse your C and C++ file members in the Projects view.</dd>
<dt>Use Structural-Parse mode to build the CModel</dt>

View file

@ -32,7 +32,7 @@ function changeSize(theImage,wd,ht) {
<dt>Remove</dt>
<dd>Remove selected include path.</dd>
<dt>Restore</dt>
<dd>Restore an previously removed include path.</dd>
<dd>Restore a previously removed include path.</dd>
<dt>Delete</dt>
<dd>Delete an include path.</dd>
<dt>Delete All</dt>

View file

@ -20,7 +20,7 @@ function changeSize(theImage,wd,ht) {
<h1>Error Parsers, C/C++ Preferences window</h1>
<p>You can veiw a list of the filters that detect error patters in the build output log, on the Error Parsers page of the Preferences window.</p>
<p>You can view a list of the filters that detect error patterns in the build output log, on the Error Parsers page of the Preferences window.</p>
<p><img src="../images/new_make-error_parser.png" width="366" height="306" onClick="changeSize(this,366,306);"
alt="Make Error Parser Preferences Dialog Box" title="click to toggle image size"></p>

View file

@ -28,7 +28,7 @@ function changeSize(theImage,wd,ht) {
<dt>Make build output parser:</dt>
<dd>Select a build output parser from the list.</dd>
<dt>Enable generate scanner info command</dt>
<dd>Select this checkbox to enable retreival of information from the scanner</dd>
<dd>Select this checkbox to enable retrieval of information from the scanner</dd>
<dt>Use default</dt>
<dd>Select this checkbox to use the default scanner information command.</dd>
<dt>Generate scanner info command</dt>

View file

@ -13,7 +13,6 @@
<h1>Tasks</h1>
<p>Task topics provide step-by-step procedural instructions to help you perform required tasks.</p>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_t_update_man.htm">Update your installation of the CDT</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_t_proj_new.htm">Creating a project</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_proj_files.htm">Work with C or C++ project files</a><br>
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_t_show_proj_files.htm">Display file members in the C/C++ Projects view</a><br>

View file

@ -22,7 +22,7 @@ function changeSize(theImage,wd,ht) {
<p>You can let the CDT save modified files whenever you perform a manual build.
The files are saved before the build is performed so that the latest
version of your files are built.&nbsp; You can view the output of the make
version of your files is built.&nbsp; You can view the output of the make
utility in the C-Build view.</p>
<p>To save resources before manual builds:</p>

View file

@ -47,7 +47,7 @@ commonly-used snippets of code.</p>
<p>To set Content Assist preferences:</p>
<ol>
<li>Click <b>Window &gt; Preferences</b>.</li>
<li>Expand <b>C/C++</b>, and click<b>C/C++ Editor</b>.</li>
<li>Expand <b>C/C++</b>, and click <b>C/C++ Editor</b>.</li>
<li>Click the <b>Content Assist</b> tab.<br>
<img src="../images/contentAssist_preferences.png" width="334" height="263" onClick="changeSize(this,334,263);"
alt="Screen Capture of Content Assist Preferences" title="click to toggle image size"></li>
@ -60,7 +60,7 @@ commonly-used snippets of code.</p>
item in the list, select the <b>Insert single proposals automatically</b> check box.</li>
<li>To automatically insert a proposal, if it is the only one found when Content Assist is invoked, select the <b>Enable auto activation</b> checkbox.</li>
<li>To display proposals in alphabetical order, rather than by relevance, select the <b>Present proposals in alphabetical order</b> checkbox. </li>
<li>To change the timeout deley for Content Assist enter the value for <b>Content Assist parsing timeout</b> in the text box area.</li>
<li>To change the timeout delay for Content Assist enter the value for <b>Content Assist parsing timeout</b> in the text box area.</li>
<li>Enable Auto activation of content assist for ".", "->" or "::" triggers by selecting the appropriate checkboxes.
<li>To change the delay before invoking Content Assist using the triggers (shown above), enter the new delay in the <b>Auto activation delay</b> text box area.
<li>To change the background color of the Content Assist dialog box, click the color palette button.</li>

View file

@ -20,7 +20,7 @@ function changeSize(theImage,wd,ht) {
<h1>Creating a C/C++ file</h1>
<p>Files are edited in the C/C++ editor, that is by default, located in the
<p>Files are edited in the C/C++ editor that is by default, located in the
editor area to the right of the C/C++ Projects view.</p>
<p>The marker bar on the left margin of the C/C++ editor, displays icons for
@ -44,7 +44,7 @@ information &gt; Views and editors &gt; Editor area</b>.</p>
<li>Enter your code in the editor view..<br>
<img src="../images/project_new_cppfile.png" width="241" height="179" onClick="changeSize(this,241,179);"
alt="Screen Capture of the Editor view with a sample makefile" title="click to toggle image size"></li>
<li>Type<b>CTRL+s</b> to save the file.</li>
<li>Type <b>CTRL+S</b> to save the file.</li>
</ol>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>

View file

@ -33,7 +33,7 @@ project properties in the Preferences window for future standard make projects.<
<p>To include paths and symbols:</p>
<ol>
<li>To set properties for future Standard Make projects click <b>Window &gt; Preferences </b>.
<li>To set properties for future Standard Make projects click <b>Window &gt; Preferences</b>.
<li>Expand <b>C/C++</b></li>
<li>Click <b>New Make Projects</b>.</li>
<li>Click the <b>Paths and Symbols</b> tab.<br>

View file

@ -53,14 +53,13 @@ include paths and symbols are correctly defined. For more information, see
<li>Click <b>Search &gt; C/C++</b>.</li>
<li>In the <b>Search string</b> box, type a search string.<br>
<img src="../images/search.png" width="256" height="192" onClick="changeSize(this,256,197);" alt="Screen capture of Search dialog box" title="click to toggle image size"></li>
<li>To make your search case sensitive, select the <b>Case sensitive</b> box .</li>
<li>To make your search case sensitive, select the <b>Case sensitive</b> box.</li>
<li>Select an element in the <b>Search For</b> box.</li>
<li>Select a search limiter in the <b>Limit To</b> box.</li>
<li>Do one of the following:
<ul><li>To search all projects in your workspace, select <b>Workspace</b> .</li><li>
<ul><li>To search all projects in your workspace, select <b>Workspace</b>.</li><li>
To search selected resources, select <b>Selected Resources</b>.</li>
<li>To search a predefined group of resources in your workspace, select <b>Working Set</b>
.</li></ul>
<li>To search a predefined group of resources in your workspace, select <b>Working Set</b>.</li></ul>
<p>Search results are displayed in the Search view. Double-click a search
result in the Search view to open the corresponding resource. The
search element is highlighted.</p>

View file

@ -22,10 +22,10 @@ editor</a>.</p>
<ol>
<li>In the C/C++ editor, select the full length of the lines that you want to shift.</li>
<li>Do one of the following:</li>
<ul><li>To move the text to the right, press <b>Tab</b> .</li><li>To move the
text to the right, click <b>Edit &gt;
Shift Right</b>.</li><li>To move the text to the left, press <b>Shift+Tab</b>.</li>
<li>To move the text to the left, click <b>Edit &gt; Shift Left</b>.</li>
<ul><li>To move the text to the right, press <b>Tab</b>.</li>
<li>To move the text to the right, click <b>Edit &gt; Shift Right</b>.</li>
<li>To move the text to the left, press <b>Shift+Tab</b>.</li>
<li>To move the text to the left, click <b>Edit &gt; Shift Left</b>.</li>
</ul>
</ol>

View file

@ -9,4 +9,6 @@
<topic label="Building your project" href="getting_started/cdt_w_build.htm"/>
<topic label="Debugging your project" href="getting_started/cdt_w_debug.htm"/>
<topic label="How to bring C/C++ source files into Eclipse" href="getting_started/cdt_w_existing_code.htm"/>
<topic label="Updating the CDT" href="getting_started/cdt_w_install_cdt.htm"/>
<topic label="Managed Make Hello World Tutorial" href="getting_started/basic.htm"/>
</toc>