Anonymous Anonymous - 9 months ago
479 0

error: bad operand types for binary operator '>'
if(!IsEmpty() && !(x>tail))
^
first type: int
second type: Node

Java

List.JAVA

public void SetPos(int pos)
	{
           if(!IsEmpty() && !(pos>tail))
                curr=pos;
	}
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download