Lab5/nodeOperations.cpp
int nodeOperations::getLength(){
	Link tempPtr = sPtr;
	int counter = 0;
	while (tempPtr != NULL){
		 counter += 1;
		 tempPtr = tempPtr->getNext();
	}
	return counter;
}
//Gets the length for the list
Gets the length for the list
Gets the length for the list
int nodeOperations::getLength(){
	Link tempPtr = sPtr;
	int counter = 0;
	while (tempPtr != NULL){
		 counter += 1;
		 tempPtr = tempPtr->getNext();
	}
	return counter;
}
int nodeOperations :: getLength ( ) { Link tempPtr = sPtr ; int counter = 0 ; while ( tempPtr != NULL ) { counter += 1 ; tempPtr = tempPtr -> getNext ( ) ; } return counter ; }
Gets the length for the list
Gets the length for the list