Program5/Packet.cpp
int Packet::getNextFCFS(){
	int nextItem = SR[0];
	SR.erase(SR.begin());
	return nextItem;
}
//Returns the integer representation of the next location to be sent to.
Returns the integer representation of the next location to be sent to.
Returns the integer representation of the next location to be sent to .
int Packet::getNextFCFS(){
	int nextItem = SR[0];
	SR.erase(SR.begin());
	return nextItem;
}
int Packet :: getNextFCFS ( ) { int nextItem = SR [ 0 ] ; SR . erase ( SR . begin ( ) ) ; return nextItem ; }
Returns the integer representation of the next location to be sent to.
Returns the integer representation of the next location to be sent to .