class toUpper
{public:
 void operator()(FILE *in, FILE*out)
 {
  int ch;
  while( ch = fgetc( in ), ch != EOF )
   fputc( tolower(ch), out );
 }
};