UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

7.9.6.  Deleting nodes of a linked list

Resources

  • Program implementing a menu with various options and including the function struct node *create_list(struct ap_scan_info *array, int size) and the code to destroy the list when the program terminates.

  • Folder with name List_aps in your shared folder in Subversion. Local copy available here

Work Plan

Using the program of the option menu make the following modifications:

  1. Implement the function struct node *delete_essid_in_list(struct node *, char *essid) that receives a linked list and a string containing a essid and deletes every single node in the list whose essid is the given. The function returns the modified list.

  2. Add and implement a new menu option to delete a essid from the a linked list. Use the function getline

Optionally, upload the file to the repository with svn commit.