From the course: Master C Language Pointers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Manage a linked list

Challenge: Manage a linked list - C Tutorial

From the course: Master C Language Pointers

Start my 1-month free trial

Challenge: Manage a linked list

(upbeat techno music) - [Instructor] Here is a structure designed for a linked list that describes members of a family. It's a standard linked list type structure with a pointer member. The structure appears in this code provided in the exercise files. I've included some other definitions, such as the input function here as line 15. And a main function at line 46. This function contains some code. It also contains a menu system. The menu system is implemented in this switch case structure. But the commands don't do anything yet. The code compiles and runs. But it's just a skeleton. Your job is to write the commands that carryout the duties. Create code or write functions that complete the exercise file as presented. The duties are to add a record to the list, delete a record, list all records, save the records to a file, open the file to read in the records, and quit. Here's the program I built for my solution…

Contents