Question: c++ function that read from a file containting a integer and a c-string description, reading those two values it loops through the list and make
c++ function that read from a file containting a integer and a c-string description, reading those two values it loops through the list and make a linked list of the two values are return its head.
//linked list structure
struct To_Do_Item { char cstring[]; int number; To_Do_Item_Ptr next; };
for example 3 James, 4 Bill
would be save in a linked list:
|3|James|-->|4|Bill| and so on.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
