PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.cplus > source code browser for C / C++ code
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
source code browser for C / C++ code

Réponse
 
LinkBack Outils de la discussion
Vieux 05/02/2008, 12h08   #1
Rahul
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut source code browser for C / C++ code

hi,

which is the best source code browser for c / c++ source code... on
windows.. better if its free download... i tried source navigator
5.1.4 and 5.2b2.. but it is crashing while parsing the c++ source
code...

i have a huge source code to dig into to fix bugs...

pls ...

-- rahul
  Réponse avec citation
Vieux 05/02/2008, 15h51   #2
Victor Bazarov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: source code browser for C / C++ code

Rahul wrote:
> which is the best source code browser for c / c++ source code... on
> windows.. [..]


Why don't you ask in a Windows programming newsgroup?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


  Réponse avec citation
Vieux 05/02/2008, 16h15   #3
Alf P. Steinbach
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: source code browser for C / C++ code

* Victor Bazarov:
> Rahul wrote:
>> which is the best source code browser for c / c++ source code... on
>> windows.. [..]

>
> Why don't you ask in a Windows programming newsgroup?


On the other hand, apart from the "best" (which IMO is meaningless) it
is a useful question of broad interest, bringing in the general problem
of parsing tools for C++ and support for such tools, and especially
important for novices/beginners who need to "tool up" to get started.

It may be, however, that the only practically useful answer is "your
favorite editor/IDE".

Visual Studio Express is free but Windows only. CodeBlocks, DevC++,
Eclipse, Komodo etc. (I'm not sure whether Komodo supports C++) are free
and cross-platform. Emacs is AFAIK free and cross-platform and very
customizable but I don't know about its support for browsing C++ code*.


Cheers,

- Alf


Notes:
(*) Of course here I'm revealing that I don't use Emacs, which as I
gather almost everybody else do. At the time I was introduced to Emacs
the version I was exposed to was very very primitive, and it was beyond
my ken how anybody could willingly choose to subject themselves to such
torture. Reportedly Emacs has become more user-friendly over the years.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
  Réponse avec citation
Vieux 05/02/2008, 16h45   #4
Erik Wikström
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: source code browser for C / C++ code

On 2008-02-05 13:08, Rahul wrote:
> hi,
>
> which is the best source code browser for c / c++ source code... on
> windows.. better if its free download... i tried source navigator
> 5.1.4 and 5.2b2.. but it is crashing while parsing the c++ source
> code...
>
> i have a huge source code to dig into to fix bugs...


Visual C++ Express edition, create a project and add the code.

--
Erik Wikström
  Réponse avec citation
Vieux 06/02/2008, 09h43   #5
James Kanze
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: source code browser for C / C++ code

On Feb 5, 5:15 pm, "Alf P. Steinbach" <al...@start.no> wrote:
> * Victor Bazarov:


> > Rahul wrote:
> >> which is the best source code browser for c / c++ source code... on
> >> windows.. [..]


> > Why don't you ask in a Windows programming newsgroup?


> On the other hand, apart from the "best" (which IMO is meaningless) it
> is a useful question of broad interest, bringing in the general problem
> of parsing tools for C++ and support for such tools, and especially
> important for novices/beginners who need to "tool up" to get started.


> It may be, however, that the only practically useful answer is "your
> favorite editor/IDE".


I once used a tool called Sniff+, which was very good for
browsing. I don't know if it's still around, however.

Not quite the same thing, but the back engineering features of
tools like Rose or Together can be useful for getting a grip on
large blocks of code. (For understanding existing code, Sniff+
is considerably better, but for designing new code, Rose or
Together would be superior. Ideally, you'd integrate the two of
them, but I don't know if they'd work very well together.)

> Visual Studio Express is free but Windows only. CodeBlocks,
> DevC++, Eclipse, Komodo etc. (I'm not sure whether Komodo
> supports C++) are free and cross-platform. Emacs is AFAIK
> free and cross-platform and very customizable but I don't know
> about its support for browsing C++ code*.


It (and vim) use a separate program (tags, or ctags, or
something like that) to generate the labels for browsing. Both
also support things like folding, which can be useful.

> (*) Of course here I'm revealing that I don't use Emacs, which as I
> gather almost everybody else do.


Only the youngsters, who don't know any better. The real
programmers only use vim:-).

> At the time I was introduced to Emacs the version I was
> exposed to was very very primitive, and it was beyond my ken
> how anybody could willingly choose to subject themselves to
> such torture.


You too:-).

> Reportedly Emacs has become more user-friendly over the years.


Not really. Emacs and vim have a somewhat different definition
of "user-friendly"---they are not friendly to beginners, and
require some "learning". Once you learn them, however, they are
exceptionally "friendly", in that they allow you to do very
complex tasks easily.

I learned vim (actually vi) and emacs back in the days when
there wasn't anything else (except ed) on the machines I was
working on. If I didn't already know them, I don't know if I'd
learn them today---they do rather intimidate when you first
encounter them. But knowing them does make me far more
productive. And since the editor is the tool you use the most,
investing in the effort to learn a powerful one is worth it in
the long run.

--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
  Réponse avec citation
Vieux 06/02/2008, 11h56   #6
EventHelix.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: source code browser for C / C++ code

On Feb 5, 7:08am, Rahul <phoenix....@gmail.com> wrote:
> hi,
>
> which is the best source code browser for c / c++ source code... on
> windows.. better if its free download... i tried source navigator
> 5.1.4 and 5.2b2.. but it is crashing while parsing the c++ source
> code...
>
> i have a huge source code to dig into to fix bugs...
>
> pls ...
>
> -- rahul


I would recommend two different options:
- Run your code through Doxygen to generate documentation with class
diagrams. Doxygen will let you browse code by click on hyperlinks
within the code.

- Visual C++ 2008 Express has powerful navigation capabilities. It is
a free download.

--
EventStudio 4.0 - http://www.Eventhelix.com/Eventstudio/
Sequence diagram based systems engineering tool
  Réponse avec citation
Vieux 06/02/2008, 18h29   #7
Dave Steffen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: source code browser for C / C++ code

James Kanze <james.kanze@gmail.com> writes:

> On Feb 5, 5:15 pm, "Alf P. Steinbach" <al...@start.no> wrote:
>> * Victor Bazarov:

>
>> Visual Studio Express

[...]
>
> It (and vim) use a separate program (tags, or ctags, or
> something like that) to generate the labels for browsing. Both
> also support things like folding, which can be useful.
>
>> (*) Of course here I'm revealing that I don't use Emacs, which as I
>> gather almost everybody else do.

>
> Only the youngsters, who don't know any better. The real
> programmers only use vim:-).


http://xkcd.com/378/ 'Nuff said. :-)

--
Dave Steffen - Software Engineer 4

Numerica Corporation (www.numerica.us <http://www.numerica.us/> )
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h13.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,27600 seconds with 15 queries