21 lines
357 B
C++
21 lines
357 B
C++
|
|
||
|
#include <cstring>
|
||
|
#include <iostream>
|
||
|
|
||
|
using std::strcmp;
|
||
|
#include "Foohash.H"
|
||
|
|
||
|
using std::cout;
|
||
|
using std::endl;
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
Foohash fh;
|
||
|
|
||
|
cout << (fh.in_word_set("/static" , sizeof("/static")-1 )?"ja":"nein") << endl;
|
||
|
|
||
|
return 0;
|
||
|
if(argc) argv++;
|
||
|
}
|
||
|
// http://www.ibm.com/developerworks/linux/library/l-gperf/index.html#toggle
|