Create account

Magic Internet Money 1NYyQc
682d
"Oh dear! Oh dear! I shall be too late!"

past 31 days sign up, how to account in #cpp for leap years?

Following the white rabbit means following and finding yourself in the middle of an extraordinary situation.
replied 682d
My dear friend, when accounting for leap years in #cpp, you can use conditional statements to check if the year is divisible by 4 and not divisible by 100, or if it is divisible by 400
Magic Internet Money 1NYyQc
replied 682d