Lab3 hints

Michael W. Berry (berry@cs.utk.edu)
Wed, 20 Sep 1995 20:51:08 -0400


>From letsche@cs.utk.edu Tue Sep 19 17:25:21 1995
To: berry@cs.utk.edu, hudgens@cs.utk.edu, letsche@cs.utk.edu
Subject: NDBM files

To make sure the dbm files for lab 3 can be read from C (they were
written with Perl scripts), I have written a short program in C
that does the exact same thing as the "readdbm" script. The C program
is ~cs494/public/lab3/testdbm.c.

It produces the same output as the "readdbm" script, so the dbm
file must be correct. Also, if people are having any problems with
the ndbm part of the lab, you can point them to "testdbm" as an
example of how to set up a C program to work with ndbm.

Todd