03.04.2017, 08:08
Quote:
Because it's looping over array indices and comparing them. It's not comparing vehicleid's directly. Look closer. The above is also a horrible way to do it because it relies on assumptions. Should the list change then the code will break and the compiler won't tell you.
|
This guy can't use sizeof because there is no system for it (or at least he don't tell us) so we have to work with the stuff we got and for that my solution is the best.