home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1995 December
/
SOFM_Dec1995.bin
/
pc
/
dos
/
games
/
wordy315
/
srch.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-31
|
545b
|
20 lines
#include <stdio.h>
#include <io.h>
#include <stdlib.h>
#include <string.h>
#include <dos.h>
#define COMPARISON_ERROR 1
#define MAXTESTS 50
#define MAX_WLEN 16
#define MAX_SPAN 25
const char Wordfile[] = "word.lst"; //File containing list of valid words.
typedef enum { FAIL, SUCCESS } Rflag;
/******************************PROTOTYPES***********************************/
Rflag l_search( char *search_word, FILE *fp );
Rflag b_search( char *search_word, FILE *fp, long left, long right );
Rflag lookup( char *test_word );