Connecting Tech Pros Worldwide Forums | Help | Site Map

Pointer and Linked List Question

Newbie
 
Join Date: Oct 2006
Posts: 1
#1: Oct 22 '06
Hi there,
I have two questions:

1. I nedd a function to swap the position of two pointers p,q that point to two diffrent node. ( not only the info - but the position of the node)

2. Given two ordered linkedlists L1, L2 I need a funtion that deletes every element of L2 founf in L1.
with the following header:
void delete<orderedlinkedlist<type> & L1, const orderedlinkedlist <type> & L2)


Thanks

Reply