From 97f6a480777588b97fe1016692a5ca7de7c0bb78 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 5 Sep 2003 12:48:10 +0000 Subject: Starting to build the project MSVC - continued --- bgrep.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bgrep.cpp') diff --git a/bgrep.cpp b/bgrep.cpp index 8759907..b3ff324 100644 --- a/bgrep.cpp +++ b/bgrep.cpp @@ -1,10 +1,12 @@ #include #include #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 -- cgit v1.2.3