Question: Hello, I am doing a C programming assignment and I was stuck conceptually. I would appreciate any tips or pseudo code to point me in

Hello, I am doing a C programming assignment and I was stuck conceptually.

I would appreciate any tips or pseudo code to point me in the right direction.

Here is an overview of the task.

I have two user defined Abstract Data type.

first ADT --> user defined list. (listADT.h and listADT.c) this generic List struct has void *data, size, capacity, and elementSize as its field.

second ADT --> user defined Client (clientADT.h and clientADT.c) Client struct has clientID, cliendName, clientEmail, clientPhoneNum as its field.

Now, I have a txt file called client.

client.txt file look like this,

Hello, I am doing a C programming assignment and I was stuck

From the main program, driver.c, I have to use fopen to read in the clients.txt file into the Client struct.

Then each Client struct will be pushed into the user defined list array.

I would appreciate any help.

clients - Notepad File Edit Format View Help 1212 Joseph and Mary Miller millers@comcast.net 206-555-1212 1314 Anne Simpson a.simpson@gmail.com 425-777-8888 1100 Peter and Emily Price priceless@yahoo.com 206-111-5555 clients - Notepad File Edit Format View Help 1212 Joseph and Mary Miller millers@comcast.net 206-555-1212 1314 Anne Simpson a.simpson@gmail.com 425-777-8888 1100 Peter and Emily Price priceless@yahoo.com 206-111-5555

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!