C++ Source Code Viewer 
March 23rd, 2007, 03:25 PM
| | | C++ Source Code Viewer
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 | 
March 23rd, 2007, 03:25 PM
| | | 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. | 
March 23rd, 2007, 03:25 PM
| | | Re: C++ Source Code Viewer
On Mar 23, 10:21 am, red floyd <no.s...@here.dudewrote: Quote:
kenton.wil...@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.
| >
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 | 
March 23rd, 2007, 03:25 PM
| | | 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 | 
March 23rd, 2007, 06:25 PM
| | | 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... | 
March 24th, 2007, 12:15 AM
| | | 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 | 
March 24th, 2007, 09:15 AM
| | | 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
| | 
March 26th, 2007, 07:05 PM
| | | 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! | | Thread Tools | Search this Thread | | | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 220,989 network members.
|