CS 202 Fall 2013  >  In-Class Challenge for Tuesday, November 19, 2013

CS 202 Fall 2013
In-Class Challenge for Tuesday, November 19, 2013

Our Goal

A Linked-List class template is written for us: List1 in file list1.h. A program that uses it is in file uselist1.cpp. This program is unfinished; we want to write two functions that use a Linked List.

What to Do

Do as many of the following as you can before class ends. After each, please show me your work.

  1. Write function template printList1 in file uselist1.cpp, as described.
  2. Write function template lookupList1 in file uselist1.cpp, as described.

When you are done, program uselist1.cpp should output what it says it will output.


CS 202 Fall 2013: In-Class Challenge for Tuesday, November 19, 2013 / Updated: 19 Nov 2013 / Glenn G. Chappell