IDE for C

J

jacob navia

C is a textual computer language. It supposes
a sequence of characters organized in definitions.

Nothing is said in the standard about the way to
input a C program, but the problem is not new,
and text editors aren't new either.

My first text editor was ed, a Unix program
that would take a file name, and print nothing.
There wasn't even a prompt.

This was a good user interface when you were
connected to the computer through a slow
serial line, and the display was printed paper,
in some printer attached to the machine.

It was a powerful editor, introducing a "regular
expressions" feature that worked amazingly well.

Later, I used a visual editor, that I use even
today (as I use still ed).

But an editor for the C language needs special features
that a simple text editor doesn't provide.

One of the first ones I added to my editor, was the list
of functions the source code file has. You click in
one and the editor goes to that one.

Syntax coloring followed, together with many other features
that I think could be useful: slicing the code according
to a single variable, so you see where is initialized,
used, etc, without any other lines.

Usage of, shows the usages of a variable, selecting
the lines for you, so that you get easily from one
usage to the next with just a click.

One of the most difficult to do of course was "goto
definition". I have settled (I hope) now for an SQL
data base (sqlite, written in C) that stores the output
of a modified compiler that generates the browse info.

You can query the database with standard SQL commands,
indepently of the editor.

If you are a beginner, there is a wizard that will
write a skeleton program for you. A windowed one
if you wish to program a GUI.

Of course, if you write a program you will have some bugs.
There is a debugger too, that will follow the program
when it runs. The debugger uses the editor to scan the
text where you are running, and automatically shows
the variables the program is working with in an
"auto" window at the bottom. This spares you the
typing of variable names in most cases.

Of course there are more sophisticated programs available.

Visual Studio, of Microsoft, is 3GB in the last version,
and features a ton of languages/environments/debuggers/
back-ends/ etc. You can even do straight C with it, if you
try.

For people that like simplicity however, a simple language
(C) and a simple system are all that could be needed.

It is available at
http://www.cs.virginia.edu/~lcc-win32.

jacob
 
M

Mark McIntyre

On Sun, 23 Jan 2005 23:37:23 +0100, in comp.lang.c , jacob navia

<a long advert for his own software, disguised as a homily>

Whatever. While mild advertising of ones product here isn't frowned upon,
this kind of stuff is out of order. Stop it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Recommendations for IDE 2
Pycharm / other IDE keyboard shortcut? 1
C exercise 1
Meme generator in c 1
Looping for checking input integer 2
Looking For Advice 1
Beginner at c 0
C++, SFML, SDL2 - 2D game 0

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top