This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Difference between a File and a C/C++ search



I am quite new to CCS and while I can see it is a very powerful tool can anybody explain the difference between a File search and a C/C++ search if I set them both to search within a workspace for the same string. I know this has asked before but the answer referred to the online help which while describing how to invoke the searches does not explain the difference.

  • The difference I see is that while File Search searches for files or text within files, the C/C++ search is more powerful and tailored to searching for C/C++ element types such as functions, variables, structs etc. If you search the Help contents for "File search" and "C/C++ search" there are details on what each one does. Hope this helps.

  • OK thanks I'll try clicking on a few more links from the search results.

    One thing I have noticed is if I use a #define to give a GPIO bit a name and search for the GPIO bit the C/C++ search is smart enough to show occurences of the #define name as well so I am starting to see the difference.