diff options
Diffstat (limited to 'bgrep.cpp')
-rw-r--r-- | bgrep.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,10 +1,12 @@ #include <stdio.h> #include <stdlib.h> #include "Input.h" +#include "Main.h" #define THRESHOLD 20480 -int main(int argc, char ** argv) { +CODE_BEGINS +virtual int startup() throw (GeneralException) { unsigned int p = strtol(argv[1], 0, 0); char * fn = argv[2]; Handle * f = new Input(fn); @@ -26,4 +28,7 @@ int main(int argc, char ** argv) { } delete f; + + return 0; } +CODE_ENDS
\ No newline at end of file |