home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
352_01
/
vlmatch.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-29
|
308b
|
14 lines
// VLMATCH.CPP
// code to match a String to a vlist.
#include "dblib.h"
int Vlist::match ( void *data )
{
int vn = n;
for ( int i=0; i<vn; ++i )
{
if ( 0==Vlist::compare (data,i) ) break;
}
return i; // Vlist::match()
}
//--------------- end VLMATCH.CPP ------------------