473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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

Mar 23 '07 #1
7 6684
ke***********@gmail.com wrote:
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.
Mar 23 '07 #2
On Mar 23, 10:21 am, red floyd <no.s...@here.dudewrote:
kenton.wil...@gmail.com wrote:
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.
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

Mar 23 '07 #3
ke***********@gmail.com wrote:
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
Mar 23 '07 #4
ke***********@gmail.com wrote:
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...
Mar 23 '07 #5
On Fri, 23 Mar 2007 08:24:36 -0700, kenton.wilson wrote:
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
Mar 24 '07 #6
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:
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
Mar 24 '07 #7
On Fri, 23 Mar 2007 15:24:03 +0000 (UTC), Marcus Kwok <ri******@gehennom.invalidwrote:
ke***********@gmail.com wrote:
>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!
Mar 26 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Pete Wason | last post by:
Hiall! I have a demo viewer page for javascript stuff that has three buttons "DEMO" "HTML" and "JSCR", and an IFRAME called 'viewer'. Initially, the IFRAME gets loaded with the actual demo...
2
by: Simon Harvey | last post by:
Hi all, I am looking to make an open source Drive space viewer. One that displays the sizes in a graph and lets you move through the directories via a treeview at the left. I have three...
6
by: shr | last post by:
Is there any way by which I can display the source of a html page using the 'view:source' command, in an iframe?? I tried using this viewer.location = "view-source:" + viewer.location.href; where...
1
by: Harshil | last post by:
Hi All, I am working on Vb.net application with oracle as my database. I have developed reports using crystal report 9. Usually when you open reports directly in crystal report viewer control it...
1
by: JC | last post by:
In my Crystal Report Viewer control properties, the reportsource field is not enabled and will not allow me to insert a reportsource. I have also tried to code in the reportsource but get an error....
2
by: muttaa | last post by:
do we have any means to view the actual source-code for a standard function in C...??
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
7
by: Tina | last post by:
In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net...
0
by: Scott | last post by:
VB GUI source code for developing please see below web site. GUI Ver. 1.0 Is a very fancy pull down menu, toolbar multi tabbed GUI menu interface for any version of Visual Basic should run and ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.