using namespace std;
+#define VERSION "1.0"
+
// Yeah, global variables!
int buffer_size = 1024;
}
else {
- cerr << argv[0]
+ cerr << "Selector version " << VERSION
+ << endl
+ << "Written by Francois Fleuret <francois@fleuret.org>"
+ << endl
+ << argv[0]
<< " [-h]"
<< " [-b]"
<< " [-v]"
ifstream file(input_filename);
if(file.fail()) {
- cerr << "Can not open \"" << input_filename << "\"" << endl;
+ cerr << "Can not open " << input_filename << endl;
return 1;
}