to all the c++ gurus: i need some help with this code. it is due fairly soon so any help would be greatly appreciated. thnx in advance...

This is concerned with sorted lists of type UpLists.

Write two user functions (not members or friends) called GetIntersection and

GetUnion which performs the following:

L1: 8,12,38,41,84,101.

L2: 4,12,38,39,42,84,99,101,348.

Then a call like GetIntersection(L1, L2) returns a new sorted list UpList which

contains 12,38,84,101.

A call like GetUnion(L1, L2) returns a new sorted list UpList which contains

4,8,12,38,39,41,42,84,99,101,348.

Write a test program called Test_UpList.cc which contains these two functions

and a main program that uses these functions.