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