On Tue, Aug 3, 2010 at 16:51, keshava singh <[email protected]> wrote:

> hi friends
>               my students used to make C programs using TURBO C++ in
> windows environment. I want to motivate them to do it in LINUX environment.
> But the problem is that
> they find TC convenient because they can easily get help about any library
> function by just typing some part of the function's name and right clicking
> that. Even they can find examples about the functions.
>                           Is it possible to find such kind of help in LINUX
> environment specially in UBUNTU 10.04?
>
>
I know there's been lot of replies till now, but I really couldn't find
where to fit this in except as a reply to the very first mail. So, here
goes. What you are looking for is more like an IDE. Hoping not to start a
flame, I suggest you take a look at GNU emacs or Xemacs. Both are pretty
good:
1. Great editor to edit code (syntax highlighting, auto indentation, code
folding etc)
2. If man pages are installed, you could map "M-x man" to F1 (maybe) and
just by placing your cursor under a function, you can get its man page. I
have read the issues with man pages, and I agree that you don't have
examples, but then examples are to be given in class not during a hands on -
here you do the mistake, burn your fingers, correct it and gain useful
experience and C functions are anyway not so cryptic that you need examples
showing their use.
3. Find , replace, regexp find/replace are easy to master
4. cscope/TAGS search available for projects 9its good to inculcate these at
an early stage)
5. Version control integration
6. Compile/debug integration thorugh "M-x compile" and "M-x gdb"
7. If you still need it, you have a shell mode
8. And if you are incurably "vi" sick, you have a (poisonous) Viper mode
(which warns you of the Carnal sin you are about to commit and tells you how
to quit, the most likable "Esc Esc Esc :q!")

The documentation is rich and the learning curve is relatively easy as it is
a modeless editor (no insert/append mode, edit mode, command mode etc)

And you could as well work in other programming languages too.
And those who are interested can even make their Elisp scripts/snippets, and
scripting for sure is not easy an easy task in "Vi/gvim" AFAIK (do correct
me if I am wrong here)


> --
> thanks and regards
>
> KESHAVA PRATAP SINGH
>
>  --
> l...@iitd - http://tinyurl.com/ycueutm
>



-- 
Lots o' Luv,
Phani Bhushan

Let not your sense of morals prevent you from doing what is right - Isaac
Asimov (Salvor Hardin in Foundation and Empire)

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to