summaryrefslogtreecommitdiff
path: root/bgrep.cpp
diff options
context:
space:
mode:
authorpixel <pixel>2003-09-05 12:48:10 +0000
committerpixel <pixel>2003-09-05 12:48:10 +0000
commit97f6a480777588b97fe1016692a5ca7de7c0bb78 (patch)
tree6ee2a629b6ee0839477072f139a12f780c18d76d /bgrep.cpp
parent6c8adf89100d24938645d20533ff08b53b0400bd (diff)
Starting to build the project MSVC - continued
Diffstat (limited to 'bgrep.cpp')
-rw-r--r--bgrep.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/bgrep.cpp b/bgrep.cpp
index 8759907..b3ff324 100644
--- a/bgrep.cpp
+++ b/bgrep.cpp
@@ -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