from your base dir:
$ etags [your cpp hpp files](creates a TAGS file)
Then, from within emacs, go over your function:
M-. goes to the symbol definitionM-0 M-. goes to the next matching definitionM-* return to your starting point
$ etags [your cpp hpp files](creates a TAGS file)
M-. goes to the symbol definitionM-0 M-. goes to the next matching definitionM-* return to your starting point
`view-file' will open a file read-only; you could bind it to some convenient key in your .emacs.C-x C-r open a file in read-only modeC-x C-q toggle-read-only