The George Washington University
School of Engineering and Applied Science
Department of Electrical Engineering and Computer Science
CSci 51 -- Data Structures
Lab #1
For labs meeting on Jan. 14-15, 1999

This exercise will make sure you are able to print files on the lab printers, and give you a bit of experience in understanding and modifying some relatively simple Ada 95 programs.

Part I. Setting Up.

Do Project #0 as given on the Project 0 handout.

Part II. Printing hard copy in the lab.

All you need to do here is print a copy of your survey form.

Part III. Compiling the Spider Package

Move to your csci51 directory and copy these files from programs51:

screen.ads (type cp programs51/screen.ads . <--- note the final dot)

screen.adb
spider.ads
spider.adb

Now compile these four files. (For example, type gcompile screen.ads )

Part IV. Using the Spider Package

Copy and compile walk_line.adb

Now link walk_line into an executable program (type glink walk_line.ali)

Now execute the program (type gexecute walk_line.exe)

Do the same with walk_box and draw_box.