You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michael edited this page Mar 18, 2021
·
3 revisions
State of the System
All existing functions of the program are currently working. The GUI supports displaying from the database, adding and removing for the database and displays these edits. Selection of which entry to remove is controlled by clicking on an entry in the scroll list. The search function is also functional, and you can search by last name, and those are shown in a separate scroll list from the main one. A functional exit button has also been added, so the X in the top right is not needed to exit.
List of Classes
Name - Simply stores the first and last name of a person in strings.
Address - Stores Street, City, State, and zip in variables. The first three are strings while zip is an Integer.
AddressEntry - Stores an entire Entry of an Address using the Name and Address classes as well as its own Phone, Email, and ID string variables.
AddressBook - This is where all of the Address Entries are stored, and the main structure used is a Vector. This is not the most efficient, as pointed out by the previous Project 1, but we did not have enough time to change this fact. Searching takes O(n) time, as well as O(n log(n)) for displaying.