Writing Programs with Emacs

By the way, did you notice Emacs doing anything unusual when you added your new variable declarations to the squatter program?

Click here for an answer.

As an experiment, go into the ``joints.c'' buffer and add the following declaration to the program. Watch carefully what happens when you enter the return following the semicolon at the end of the line.

      int mumble;

What happened?

Click here for the answer.

Emacs has many more features that make it easier for you to write C programs. There are so many features that we don't have the time to talk about all of them here. If you're curious, pay close attention to what happens as you edit.


Eric N. Eide
Hamlet Project
Department of Computer Science
University of Utah