Connecting Tech Pros Worldwide Help | Site Map

C++ Source Code Viewer

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 23rd, 2007, 03:25 PM
kenton.wilson@gmail.com
Guest
 
Posts: n/a
Default 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


  #2  
Old March 23rd, 2007, 03:25 PM
red floyd
Guest
 
Posts: n/a
Default 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.
  #3  
Old March 23rd, 2007, 03:25 PM
kenton.wilson@gmail.com
Guest
 
Posts: n/a
Default 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



  #4  
Old March 23rd, 2007, 03:25 PM
Marcus Kwok
Guest
 
Posts: n/a
Default 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
  #5  
Old March 23rd, 2007, 06:25 PM
Fei Liu
Guest
 
Posts: n/a
Default 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...
  #6  
Old March 24th, 2007, 12:15 AM
Michael Ekstrand
Guest
 
Posts: n/a
Default 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
  #7  
Old March 24th, 2007, 09:15 AM
aiooua
Guest
 
Posts: n/a
Default 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
  #8  
Old March 26th, 2007, 07:05 PM
Jorgen Grahn
Guest
 
Posts: n/a
Default 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!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

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.