Results 1 to 7 of 7
Hi buddies,
I just started learning programming C++ on Linux. I want a tool to view the existing source code of others. I used Microsoft VC++ and Souce Insight on ...
- 02-01-2010 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 4
[help] Want a tool to view source code
Hi buddies,
I just started learning programming C++ on Linux. I want a tool to view the existing source code of others. I used Microsoft VC++ and Souce Insight on Windows. Is there such a tool on Linux, especially on Ubuntu? Thanks
- 02-01-2010 #2
Most Linux software that I've come across is open source...Just download the source..Or do you mean your looking for and IDE...Code::Blocks
Last edited by gerard4143; 02-01-2010 at 02:49 AM.
Make mine Arch Linux
- 02-01-2010 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 4
An IDE is OK. As long as it can quickly jump into a function definition if I wish. On windows, some poeple use SouceInsight as an IDE.
- 02-01-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
If you want something that will highlight syntax elements and let you edit easily, I like the nedit text editor. It offers syntax highlighting for just about every programming language known, and a few not hardly known... It also has one of the best search tools I know, supporting complex regular expressions across many files. I have used this to find specific programming constructs in source trees of hundreds of files. Sort of like a visual egrep.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-01-2010 #5Just Joined!
- Join Date
- Mar 2008
- Posts
- 4
- 02-02-2010 #6
I'm a huge Vim fan, and I don't even use IDEs because I prefer using its power and the commandline. If you're looking for another editor with the same power but another interface, you can look at Emacs, which is designed completely differently, but which is a very powerful text editor.
Also, I point you towards ctags. ctags takes all of the files in a project and creates a "tags" file for them which indexes all of the functions. You can now jump from any function call to its definition from within Vim. I'm sure you can do this somehow in Emacs as well.
VI and VIM editor: Tutorial and advanced features (go to the section called "Tagging")DISTRO=Arch
Registered Linux User #388732
- 02-02-2010 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Editors are like lovers. Each is different, but provides mostly the same benefits.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
