optind++;
const char *ofile = (optind < argc) ? argv[optind] : "converted.tq7";
ofstream out;
out.open(ofile, ios::out|ios::trunc|ios::binary);
out.open(ofile, std::ios::out|std::ios::trunc|std::ios::binary);
if (!out.is_open())
throw myexc(string("Unable to open ") + ofile);
bool haveout = false;
using std::cerr;
using std::endl;
using std::cout;
int
usage() {