home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
677
/
TSRTOOLS
/
ISLEAP.C
< prev
next >
Wrap
Text File
|
1993-10-07
|
195b
|
13 lines
/*
isleap.C
Copyright (C) 1993, Geoff Friesen B.Sc.
All rights reserved.
*/
#define INCL_ISLEAP
int isleap (int year)
{
return (!(year & 3) && year % 100 || !(year % 400));
}