If you're trying to get the size of the enableCheat array, may I suggest the ARRAY_SIZE macro?