I'm looking for a free tool for analyzing a generic C++ project without a particular IDE for searching references or declaration of classes, methods and functions. For example, a similar tool have to work also with projects which use bash scripts for compilation. A tool like cppdepend.com.

If it doesn't exist, we could organize to develop it.

Thank you


You just want to search plain text source files for a string, right?

Did you try grep? It comes with linux, and there are also versions for Windows cmd.exe. It can also search groups of files specified with a wildcard like *.c or multiple wildcard groups like *.c *.h.

  1. GrepWin has a GUI for windows.
  2. GNU Grep is a CLI for cmd.exe.
  3. Another GrepWin.
  4. Oak Road Systems grep for cmd.exe.
  5. findstr comes with cmd.exe (Windows) and has some options including searching all files in subdirectories. For help do findstr /? in a cmd.exe window.
| improve this answer | |
  • 1
    This is the idea. But I'm looking for something more clever, especially than me. Anyway, thank you – rikicecchi Sep 13 '19 at 8:51
  • I don't understand what do you mean by more clever than you. It's just a tool. – 59507 Oct 10 '19 at 14:36
  • As the OP said earching references or declaration of classes, methods and functions, not just every text occurrence of their names – Mawg says reinstate Monica Oct 11 '19 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.