Ctags

ctags (Exuberant ctags) can generate a tagfile from your source code files. You can load this tag file with a text editor and hop around in your source code (across files and directories even) quickly switching from a function definition or a variable in the code to its declaration and so on.

A decent Integrated development environment can help you in the same way.