|
![](/i/fill.gif) |
Le 06/02/2013 20:30, Kenneth nous fit lire :
> Not how to 'understand' source code ;-)
>
> Just wondering what kind of little Windows app I could download to actually
> *see* (take a look at) the source code for a program (well, one that has
> publicly-available source code, anyway--like POV-Ray.) I've never thought of
> doing so before now, and don't know what's involved. Not to EDIT the stuff, or
> compile/recompile it; that's way beyond me.
>
> From what I've read, some 'text' editors can do this. Or would it require a 'hex
> editor'? Or perhaps something like Notepad++, which apparently can open and
> display programs written in C, C++ etc?
>
Any text editor (not wordprocessor) should do.
You might enjoy an easy to use search function (just to spot all the
occurrence of a variable, or finding a function)
An optional line numbering might help too.
> What I would basically like to do is see the code the way the original developer
> saw it, while writing it (in whatever programming language that happened to be.)
> I might even learn a few things!
<start holy war>
* PFE (programmer's File Editor)
* use eclipse with C/C++ or Java setting
* use Microsoft Visual Studio (or whatever its name), if available as
free edition on your OS (IIRC, MSVC 2012 need something like Vista or 7
and won't install on XP)
Tag line: beware of expecting to learn a language by studying existing
code, you would be disappointed.
Post a reply to this message
|
![](/i/fill.gif) |