home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
educatin
/
inf_src.arc
/
STEADY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1986-03-14
|
308b
|
20 lines
#include <stdio.h>
#include "routine.h"
#include "weather.h"
main()
{
FILE *dataFile ;
int value[20] ;
dataFile = fopen("WEATHER.DAT","rb") ;
fread(value,2,20,dataFile) ;
fclose(dataFile) ;
if(value[1]==STEADY)
return(RETURN_ROUTINE_TRUE) ;
else
return(RETURN_ROUTINE_FALSE) ;
}