2011-12-01, 09:07 PM
Nikkey Wrote:more like
Code:int i;
for (i = year1; i < year2; i++)
days_until += 365 + if_leap(i);
Unless you actually want to modify the contents of year1, that is.
Look at the original code. It modifies year1.

