UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2015 - January 2016

Programming with linked lists

Previous activities

1.  Using linked lists

Resources

  • Program created in a previous activity in which a menu with various options was implemented.

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

Work Plan

Make the following modifications to the program that manages a menu with options:

  1. Create a new subfolder (if this is the case) in your work space shared by Subversion for the program you are about to create.

  2. Define a data type struct node that, with the same information as struct ap_scan_info, will be the base of a linked list.

  3. Implement the function struct node *create_node(struct ap_scan_info *cell) that receives an address of a cell within an array and creates the node of the linked list that stores a copy of the same information.

  4. Implement the function void print_node(struct ap_scan_info *cell) that receives an address of a node and shows its information in the screen.

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

How long did this activity take you? mins.