Project 2


Due : 11:59pm, 22 July

Write a simulation of a window list manager in a typical GUI.

Window lists in GUIs are handled quite often by creating a data structure associated with each window, and storing these in a circular doubly linked list.

Create a simulation of this process where the sole data item associated with each window is the title of the window, stored as a string.

The window list is a circular doubly linked list with the following methods (and constructor/destructor) :

Source code for the Window class and all header files are provided and must be adhered to rigidly. Also, a main program is provided for testing purposes, with the output that is expected.

Requirements (Contents of submission)

IMPORTANT: Your WINDOWL.CPP module will be linked with our test program so it must adhere STRICTLY to the interface and specifications of each method. Do not make any changes to WINDOW.H, WINDOW.CPP or WINDOWL.H.

Files

  1. window.h
  2. window.cpp
  3. windowl.h
  4. main.cpp
  5. output

Solution

Stress Test Suite


Last updated : 2 August 1999 4:35pm