This question builds on the program you prepared for Lab 11.
In fact, for this lab question, there is no new functionality to implement. Instead, you will be required to make some changes to the internal structure of your program. These changes are:
printdb
must not reopen the database file. It
will simply print the information stored by setdb
.
lab12.c
in your favourite editor
so that it implements the required functionality in the manner described
above.
submit 2031A Lab12 lab12.c
submit
command can be viewed by
typing man submit
.