commit 3acf204a2f85aaa62eafdb50248caa9d6d1cd018
parent 062b2a03b6efbe6a9ffc65e2957dc2eface7b602
Author: MTRNord <mtrnord1@gmail.com>
Date: Fri, 3 Sep 2021 20:11:43 +0200
add dummy output to make it not fail while testing
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/main.cpp b/main.cpp
@@ -1,8 +1,14 @@
#include "boinc_api.h"
+#include "filesys.h"
+
+using namespace std;
+FILE* fp;
int main() {
int retval;
char buf[256];
+ fp = fopen("out.txt", "a");
+
BOINC_OPTIONS options;
boinc_options_defaults(options);
options.normal_thread_priority = true;
@@ -15,6 +21,8 @@ int main() {
exit(retval);
}
+ fprintf(fp, "test\n");
+ fflush(fp);
boinc_finish(0);
return 0;
}