Connecting Tech Pros Worldwide Forums | Help | Site Map

C++ Source Code Viewer

kenton.wilson@gmail.com
Guest
 
Posts: n/a
#1: Mar 23 '07
Hi,

I was wondering if someone might know of any C++ source code viewers
for linux / unix that are also free. I just want something that will
allow me to explore the class, function, and variable relationships
within my source. I don't really want an "army swiss knife" IDE, i.e.
something that has a builtin editor, scm interface, build system,
etcetera.

TIA,
Kent


red floyd
Guest
 
Posts: n/a
#2: Mar 23 '07

re: C++ Source Code Viewer


kenton.wilson@gmail.com wrote:
Quote:
Hi,
>
I was wondering if someone might know of any C++ source code viewers
for linux / unix that are also free. I just want something that will
allow me to explore the class, function, and variable relationships
within my source. I don't really want an "army swiss knife" IDE, i.e.
something that has a builtin editor, scm interface, build system,
etcetera.
Look up "cscope". It's curses based, but I've used it for years.
kenton.wilson@gmail.com
Guest
 
Posts: n/a
#3: Mar 23 '07

re: C++ Source Code Viewer


On Mar 23, 10:21 am, red floyd <no.s...@here.dudewrote:
Quote:
kenton.wil...@gmail.com wrote:
Quote:
Hi,
>
Quote:
I was wondering if someone might know of any C++ source code viewers
for linux / unix that are also free. I just want something that will
allow me to explore the class, function, and variable relationships
within my source. I don't really want an "army swiss knife" IDE, i.e.
something that has a builtin editor, scm interface, build system,
etcetera.
>
Look up "cscope". It's curses based, but I've used it for years.
I used to use cscope for my 'C' development but I don't think it can
handle C++ (unless cscope has been changed, I'll check).

Kent



Marcus Kwok
Guest
 
Posts: n/a
#4: Mar 23 '07

re: C++ Source Code Viewer


kenton.wilson@gmail.com wrote:
Quote:
I was wondering if someone might know of any C++ source code viewers
for linux / unix that are also free. I just want something that will
allow me to explore the class, function, and variable relationships
within my source. I don't really want an "army swiss knife" IDE, i.e.
something that has a builtin editor, scm interface, build system,
etcetera.
I've not personally used it, but Doxygen might help: I hear it can
produce call graphs and such.

--
Marcus Kwok
Replace 'invalid' with 'net' to reply
Fei Liu
Guest
 
Posts: n/a
#5: Mar 23 '07

re: C++ Source Code Viewer


kenton.wilson@gmail.com wrote:
Quote:
Hi,
>
I was wondering if someone might know of any C++ source code viewers
for linux / unix that are also free. I just want something that will
allow me to explore the class, function, and variable relationships
within my source. I don't really want an "army swiss knife" IDE, i.e.
something that has a builtin editor, scm interface, build system,
etcetera.
>
TIA,
Kent
>
What's wrong with vi? Nothing a little tag magic cann't resolve...
Michael Ekstrand
Guest
 
Posts: n/a
#6: Mar 24 '07

re: C++ Source Code Viewer


On Fri, 23 Mar 2007 08:24:36 -0700, kenton.wilson wrote:
Quote:
I used to use cscope for my 'C' development but I don't think it can
handle C++ (unless cscope has been changed, I'll check).
cscope can't really handle C++, but it can parse enough info out
of it to be useful in my experience.

You might also look at Anjuta, KDevelop, or the Eclipse CDT.

- Michael
aiooua
Guest
 
Posts: n/a
#7: Mar 24 '07

re: C++ Source Code Viewer


try http://sourcenav.sourceforge.net
imho, a very handy tool. especially for oo-languages.

thanks,

On Mar 23, 8:18 pm, kenton.wil...@gmail.com wrote:
Quote:
Hi,
>
I was wondering if someone might know of any C++ source code viewers
for linux / unix that are also free. I just want something that will
allow me to explore the class, function, and variable relationships
within my source. I don't really want an "army swiss knife" IDE, i.e.
something that has a builtin editor, scm interface, build system,
etcetera.
>
TIA,
Kent
Jorgen Grahn
Guest
 
Posts: n/a
#8: Mar 26 '07

re: C++ Source Code Viewer


On Fri, 23 Mar 2007 15:24:03 +0000 (UTC), Marcus Kwok <ricecake@gehennom.invalidwrote:
Quote:
kenton.wilson@gmail.com wrote:
Quote:
>I was wondering if someone might know of any C++ source code viewers
>for linux / unix that are also free. I just want something that will
>allow me to explore the class, function, and variable relationships
>within my source. I don't really want an "army swiss knife" IDE, i.e.
>something that has a builtin editor, scm interface, build system,
>etcetera.
>
I've not personally used it, but Doxygen might help: I hear it can
produce call graphs and such.
It can, where "such" is class diagrams and #include dependencies. And
I am 99% sure you can have it include all source code, pretty-printed
and all. Use a recent version.

But my first tool of choice would be the same I use when writing code:
emacs and a good TAGS file. I don't really see the use case for a
viewer which isn't also an editor (except for the kind of things that
Doxygen does).

/Jorgen

--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.dyndns.org R'lyeh wgah'nagl fhtagn!
Closed Thread