<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <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> <div role="main"><h1>Navigating to C/C++ declarations</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 <strong>Open Declaration</strong>.<br> <img src="../images/openDeclaration.png" alt="Editor View showing Open Declaration option" > </li> </ol> <p>For more information, see:<ul> <li> <strong>Workbench User Guide > Tasks> Navigating and finding resources</strong></li> </ul> <p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21"> <br> <a href="../concepts/cdt_c_open_declarations.htm">Open Declaration</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 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 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_07.gif" ALT="IBM Copyright Statement" > </div></body> </html>