The id-utils package contains very fast and high capacity indexing tools for C/C++ source code. `mkid' creates an index covering a virtually unlimited number of files, `lid' queries the index, allowing you to find in an instant what files contain a particular identifier or numeric literal and `gid' will show you all lines where an identifier occurs.