#include "basic-data-record.h" #include "dictionary-record.h" const int TABLE_SIZE=100; // Header file abstract data type (ADT) CSC120Dictionary. // // CSC120Dictionary: The constructor function, it takes no arguments // // insert: Inserts a record into the dictionary. The first argument // is the key and the second is the data record. // // del: Deletes a record from the dictionary. The argument gives the // key of the record to delete. // // update: Updates a record in the dictionary. The first argument is the // old key, the second argument is the new key, and the third // argument is the new data record // // search: Searches for a record in the dictionary. The first argumentis // the key for which to search. If the key is not found then // null is returned. Otherwise a pointer to the corresponding // data record is returned. class CSC120Dictionary { public: // You must implement in CSC120Dictionary.cpp the public function members // any other private member functions you defined (if any) CSC120Dictionary(void); // initialize all dictionary entries to 0 void insert(int, DataRecord); void del(int); void update(int, int, DataRecord); DataRecord* search(int); // void save(){}; // void load(){}; private: // FILL IN THIS PART };