[Solved] ERROR: The operator != is undefined for the argument type(s) boolean, int


you can’t “double compare” like that. try this for type int:

(t != 0) && (arrivalTime[i] <= t)

..but you probably rather want t > 0

7

solved ERROR: The operator != is undefined for the argument type(s) boolean, int