I l@ve RuBoard Previous Section Next Section

7.1 Setting Up Your Work Area

The operating system allows you to group files in directories. Just as file folders serve to keep papers together in a filing cabinet, directories serve to keep files together. In this chapter you will be creating a simple calculator program. All the files for this program will be stored in a directory named calc. To create a directory in Unix, execute the following commands:

% cd ~
% mkdir calc

In MS-DOS, type:

C:\> cd \
C:\> mkdir calc

To tell the operating system which directory you want to use, in Unix type the command:

% cd ~/calc

In MS-DOS, type:

C:\> cd \calc
C:\CALC> 

More information on how to organize directories can be found in your operating system documentation.

Some IDEs will create the directory for you as part of the project creation process.

    I l@ve RuBoard Previous Section Next Section