Skip to main content
summaryrefslogtreecommitdiffstats
blob: 7a40f8aef6696c82788e23ef911b64a92bcb8eaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!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>Navigating to C/C++ declarations</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>

<body>

<h1>Navigating to C/C++ declaration</h1>

<p>The Open Declaration feature lets you navigate to the declaration that matches a 
selected element in the C/C++ editor. It is recommended that you look for 
element declarations on successfully compiled programs.</p>

<p>To navigate to C/C++ declaration:</p>

<ol>
  <li>In the C/C++ editor, select an object.</li>
  <li>Right-click the selected element, select <b>Open Declaration</b>.<br>
  <img src="../images/openDeclaration.png"  alt="Editor View showing Open Declaration option" >
  </li>
</ol>

<p>For more information, see:<ul>
  <li> <b>Workbench User Guide &gt; Tasks&gt; Navigating and finding resources</b></li>
  </ul>

<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_open_declarations.htm">Open Declarations</a><br>
<a href="../concepts/cdt_c_open_definitions.htm">Open Definitions</a><br>
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
<a href="../concepts/cdt_c_search.htm">C/C++ search</a></p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="cdt_t_search.htm">Searching for C/C++ elements</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_u_search.htm">C/C++ search page, Search dialog box</a></p>

<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >

</body>

</html>

Back to the top