This output from "diff clientList.h listA.h" shows the
differences between the two files. Lines of clientList.h are
preceded with the "<" and lines of listA.h are preceded with the
">"
2c2
< // Header file listA.h for the ADT list.
---
> // Header file clientList.h for the ADT list.
5,6d4
< const int MAX_LIST = maximum-size-of-list;
< typedef desired-type-of-list-item listItemType;
8c6,28
< class listClass
---
> #include <string>
> #include "strList.h"
>
> /* ================================================== */
> /* DATA TYPES */
> /* ================================================== */
>
> /* definition of the client record */
> typedef struct
> {
> string lastName ;
> string firstName ;
> string phoneNum ;
> int numInterests ;
> stringListClass interests ;
> int matchPos ;
> }
> clientItemType ;
>
> const int MAX_CLIST = 50;
> typedef clientItemType cListItemType;
>
> class clientListClass
11c31
< listClass(); // default constructor
---
> clientListClass(); // default constructor
27c47
< void ListInsert(int NewPosition, listItemType NewItem,
---
> void ListInsert(int NewPosition, cListItemType NewItem,
49c69
< void ListRetrieve(int Position, listItemType& DataItem,
---
> void ListRetrieve(int Position, cListItemType& DataItem,
59c79
< listItemType Items[MAX_LIST]; // array of list items
---
> cListItemType Items[MAX_CLIST]; // array of list items