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

[ad_1]

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

[ad_2]

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