Getting started and setting up your C compiler

Be sure and follow the entire Help Desk procedure to set
up your TechBook initially. If you do not make yourself an
an administrator on your own TechBook, Borland C++Builder5
may not run correctly because it cannot make necessary changes
to the Windows Registry!

Show the file extensions. In Windows 2000, double click on
My Computer and then go to Tools | Folder Options. On the
View tab, in the Advanced settings box, mark
the Show hidden files and folders
radio button and uncheck the Hide file extensions for known
file types box. Then click Apply and close the Options window.

Make a directory for the class. Click
Start|Programs|Accessories|Command Prompt and proceed as
below

Open C++ Builder 5. Use Project | Options... and then
select the Directories/Conditionals tab. Use ... to set both the
intermediate and final output to c:\mcs1142. Then check the
Default box and click Ok. Close C++Builder 5 without saving
Project1.

Use Start|Settings|Taskbar & Start Menu and select the Advanced
Tab. Clicking Advanced... should get you to the Start Menu folder
for your User ID. Go to the Programs\Accessories sub folder and
select the Command Prompt black window icon. Right click and drag
it to make a copy on your desktop. Then right click on the new
desktop copy and select Properties. On the General tab, change the
name from Command Prompt to mcs1142. On the Shortcut tab change
the Start In to c:\mcs1142. For now on the Options tab, leave
Quick Edit Mode unchecked and leave Insert Mode checked.

Click on the My Computer icon and then on Drive C: Right click
the mcs1142 folder icon and drag it to the desktop to Create a
Shortcut Here.

Start with a clean slate. As soon as you start C++ Builder
use File | Close All from the menu bar. If the Object Inspector
panel is open on the left, click it closed. If the left
part of the source code window is taken up by the Class tree
panel, click that panel closed.

Bring mcs1142.c into the code editor window by double clicking the
name "mcs1142.c" in the Project Manager window
(View | Project Manager), or
positioning the cursor on "mcs1142.c" in the first line of
mcs1142.bpf in the code editor window and right clicking
and selecting "open file at cursor".

Change the program name and date and purpose to reflect your new
project. Be sure not to use blanks or more than 8 characters
in the name.

Assuming you are working on Assignment 2 and the working folder is
c:\mcs1142, Use File | Save As to save the program file as
c:\mcs1142\asm2.c

Similarly, Use File | Save Project As to save the project as
c:\mcs1142\asm2.bpr

Now you are ready to start work on Assignment 2...

Close C++ Builder 5.

To reopen Assignment 2 for further work, use the same procedure
as for the template project or double click the Shortcut to mcs1142
icon on the desktop and then double click the asm2.bpr icon.