Skip to content

nqtwin/bibliotecaNicoleQ

Repository files navigation

Main program to run is in biblioteca.libFunctions.Biblioteca.main()

*** UPDATE ***
Required .txt files (originally in ./dataFiles) have been copied to 
./out/production/moduleOne so that running: 
java biblioteca.libFunctions.Biblioteca
from that directory should work.
 
Need to learn how to make it work if the .txt files are kept in a different
directory.
**************

FILES IN ./dataFiles/
This program reads from a predefined text file testAddBooks.txt containing 
the catalogue of books. Books must be specified by title, author, (fake) 
isbn number, and the quantity owned by the library.

This program also reads from a predefined text file userlist.txt containing 
the list of users, who must be defined by name and (fake) library number.

Finally, this program reads from a predefined text file reservations.txt 
(containing user library number / book isbn number of each reservation made) 
containing the history of all reservations that have been made. 
The program uses this information at initialization to update its catalogue 
with the correct number of UNRESERVED (and hence available) books of each type.
 No means of returning a book has been implemented yet -- for now, reservations.txt can be deleted to reset the catalogue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages