<p>Performing a C/C++ Search can be done in a number of different ways but regardless of the manner chosen the same information must be provided to C/C++ Search.</p>
The info required to do a search is:
<tableborder="1"cellpadding="2"valign="top">
<tr>
<tdvalign="top"><b>Search string</b></td>
<tdvalign="top">this is the name of the element you are looking for. See <ahref="../concepts/cdt_c_search.htm">C/C++ search</a> for more information on how to specify wildcard searches and how to further refine your searches by using fully qualified names</td>
</tr>
<tr>
<tdvalign="top"><b>Search For </b></td>
<tdvalign="top">this is the element type that you wish to search for. You can also select to search on ‘Any Element’ which will perform the search on a combination of all elements</td>
</tr>
<tr>
<tdvalign="top"><b>Limit To</b></td>
<tdvalign="top">this allows you to limit your search to declarations, definitions or references. You can also select ‘All Occurrences’ which will search for declarations, definitions and references that match the element</td>
</tr>
<tr>
<tdvalign="top"><b>Scope</b></td>
<tdvalign="top">this allows the user to limit the scope of the search. The three available scopes are:
<tableborder="0"cellpadding="2">
<tr>
<tdvalign="top"><b>Workspace</b></td>
<tdvalign="top">this searches all of the open projects in the workspace</td>
</tr>
<tr>
<tdvalign="top"><b>Selected Resources</b></td>
<tdvalign="top">this option becomes enabled whenever something is selected in one of the following views in the C/C++ perspective:
<ul>
<li>C/C++ Projects</li>
<li>Navigator</li>
<li>Search</li>
<li>Outline</li>
</ul>
<p>The scope will be limited to whatever element is selected in the view.</p>
</td>
</tr>
<tr>
<tdvalign="top"><b>Working Set</b></td>
<tdvalign="top">working sets can be selected and created </td>
</tr>
</table>
</td>
</tr>
</table>
<p>There are 3 main ways for initiating a C/C++ search:
<ul>
<li>Using the <b>C/C++ Search</b> dialog</li>
<li>Selecting an element in the <b>Editor</b> view</li>
<li>Selecting an element in the <b>C/C++ Projects</b> view or Selecting an element from the <b>Outline</b> view</li>