#include <iostream>
#include <string>
#include <cctype>
#include <assert.h>
using namespace std;
#define NDEBG
typedef bool (*cmpFcn)(const string &, const string &);
bool lengthCompare(const string &a, const string &b)
{
return a.size()>b.size()?1:0;
}
int main()
{
cmpFcn pf = lengthCompare;
cout<<"lengthCompare(hi,bye) "<<lengthCompare("hias","bye")<<endl;
cout<<"pf(hi,bye) "<<pf("hias","bye")<<endl;
cout<<"(*pf)(hi,hi) "<<(*pf)("hi","hi")<<endl;
}