home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
prog1
/
tchk21.lzh
/
INCLUDE.PAK
/
STATEHK.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-06-06
|
758b
|
18 lines
/* TCHK 2.1 - Howard Kapustein's Turbo C library 6-6-89 */
/* Copyright (C) 1988,1989 Howard Kapustein. All rights reserved. */
/* statehk.h - state/zip code functions header file */
#ifndef STATE_HEADER
#define STATE_HEADER 1
#define MAXSTATES 55 /* 50 states + CZ (Canal Zone), DC (District of Columbia), */
/* GU (Guam), PR (Puerto Rico), VI (Virgin Islands) */
/* function prototypes */
boolean isstate(char *state); /* is state a state abbreviation */
int stateindex(char *state); /* get index of States array for state */
boolean iszip(char *state, char *zip); /* is zip a valid Zip Code */
#endif /* STATE_HEADER */