Selection Searching for C/C++ elements

It is recommended that you perform searches on successfully compiled programs to ensure the accuracy of search results. It is important to familiarize yourself with the correct search syntax to use to complete an effective search. It is also important to ensure that include paths and symbols are correctly defined. For more information, see Setting up include paths and macros for C/C++ indexer.

See C/C++ search, for more information on:

To search for an element in your project:

  1. Highlight the element you want to search.
  2. Right click and select Search For from the context menu.
    Editor View showing Selection Search options
  3. Select All Declarations or All References.
  4. Select Workspace or Working Set....
  5. The search results will appear in the Search View
    Search View Selection Search options

For more information, see:

Related concepts
C/C++ search
CDT Projects
Open Declaration

Related tasks
Searching for C/C++ elements
Navigate to C/C++ declarations

Related reference
C/C++ search page, Search dialog box


IBM Copyright Statement