Lab5/nodeOperations.cpp
Link nodeOperations::getNextEvent(){
	Link tempPtr;
	tempPtr = sPtr;
	sPtr = (sPtr)->getNext();
	tempPtr->setNext(NULL);
	return tempPtr;
}
//Takes the first event in the list, removing it from the linkedlist entirely, and returns that event.
Takes the first event in the list, removing it from the linkedlist entirely, and returns that event.
Takes the first event in the list removing it from the linkedlist entirely and returns that event .
Link nodeOperations::getNextEvent(){
	Link tempPtr;
	tempPtr = sPtr;
	sPtr = (sPtr)->getNext();
	tempPtr->setNext(NULL);
	return tempPtr;
}
Link nodeOperations :: getNextEvent ( ) { Link tempPtr ; tempPtr = sPtr ; sPtr = ( sPtr ) -> getNext ( ) ; tempPtr -> setNext ( NULL ) ; return tempPtr ; }
Takes the first event in the list, removing it from the linkedlist entirely, and returns that event.
Takes the first event in the list removing it from the linkedlist entirely and returns that event .