|
各位大神,以下程序编释时会出现:expression not boolean。请问如何解决? bool is_leap_year(int ai_0) { if (MathMod(ai_0, 100) == 0.0 && MathMod(ai_0, 400) == 0.0) return (TRUE); else { if (MathMod(ai_0, 100) != 0.0 && MathMod(ai_0, 4) == 0.0) return (TRUE); else return (FALSE); } } |
EA发布区