452 Intermediate C Programming
C.1 Eclipse
There are several ways to install Eclipse. One is to download Eclipse from the web site.
Another is to use Ubuntu’s Software Center. After starting Eclipse, it asks you for the loca-
tion of a “workspace”. This is a folder where you keep your Eclipse programming projects.
The default location is a directory called workspace. Eclipse has a plug-in architecture for
adding features. This is one reason (possibly the most important) why Eclipse is a popular
IDE. To install a plug-in, click Help at the menubar and select Install New Software. Select
Programming Languages and C/C++ Development Tools, as shown in Fig. C.2. Eclipse
does not support the C programming language until this plugin is installed.
FIGURE C.2: Select C/C++ Development Tools.
C.2 Create and Build a Project
To create a new programming project, first click File on the menubar, and select New
and then Project. Fig. C.3 to Fig. C.11 show the procedure of building a program in Eclipse.