15.04.2018 Views

programming-for-dummies

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Writing a Program with an Editor 95<br />

Standalone<br />

A standalone editor is nothing more than a separate program that you run<br />

when you want to edit your program. You run the compiler separately.<br />

If you regularly write programs in different <strong>programming</strong> languages, you<br />

might want to use a standalone editor. That way you can get familiar with all<br />

the features of a single editor.<br />

You can buy standalone editors, but here are two popular free ones. Both of<br />

these editors run on multiple operating systems (such as Windows and Linux):<br />

Book I<br />

Chapter 4<br />

Programming Tools<br />

✦ GNU Emacs (www.gnu.org/software/emacs/emacs.html)<br />

✦ VIM (www.vim.org)<br />

The sidebar, “Common editor features,” lists features you find in most editors,<br />

including standalone editors.<br />

Integrated development environment (IDE)<br />

An integrated development environment (IDE) combines an editor with a compiler<br />

in a single program so you can easily edit a program and compile it right<br />

away. An IDE gives you access to these features within a consistent user interface,<br />

as shown in Figure 4-4.<br />

If you mostly write programs in a single <strong>programming</strong> language, using an IDE<br />

can be more convenient than a standalone editor.<br />

Menu to compiler<br />

Menu to debugger<br />

Figure 4-4:<br />

An IDE<br />

provides<br />

access to<br />

multiple<br />

<strong>programming</strong><br />

tools<br />

within a<br />

single user<br />

interface.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!