Starter Code and Data for Lab 5
PERSON *getRecords(FILE *fp, int *count)
{
    char line[MAXLINE + 1], *name, *ss, *age, *city, *state;
    int years;
    PERSON *people, *mover;

    *count = 0;
    people = (PERSON *) Malloc(BUCKET * sizeof(PERSON));
    mover  = people;

    while(fgets(line, MAXLINE, fp))
    {
         name   = strtok(line, ":");
         ss     = strtok(NULL, ":");
         age    = strtok(NULL, ":");
         city   = strtok(NULL, ":");
         state  = strtok(NULL, "\n");
         years  = strtol(age, NULL, 10);

/***************************************************************************/
 
Jones,Ed:123-45-6789:28:Willow Hill:NC 
Smith,Mary:654-32-1098:35:Tucson:AZ
Discussion,Frank:987-65-4321:32:Las Vegas:NM
Ferapples,Bob:765-43-2109:39:Carson City:NV
Dover,Ben:545-45-5465:34:Walla Walla:WA
Doubt,Flip:432-90-0974:40:Santa Fe:NM
Wonka,Willie:888-88-8888:54:Sand Point:ID
Cross,Chris:345-09-6545:45:St. George:UT
Dup,Mess:555-55-5555:29:Flagstaff:AZ
Smith,Bob:444-44-4444:59:Chapel Hill:NC
Clean,Mister:607-94-9494:41:South Bend:IN
Wood,Ply:999-87-0123:42:Pittsburgh:PA
Wood,Ed:111-11-1111:56:Northridge:CA
Devver,Wudd:909-09-0758:33:Busted Wheel:WA
Kramer,Cosmo:764-77-7777:49:Wheeling:WV
Seinfeld,Jerry:076-90-5676:44:New York:NY
Person,Roderick:415-56-7665:71:Couch Potato:IL
Blow,Joe:555-44-4444:52:Foobar:VT