1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-12 10:45:37 +02:00
cdt/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/src/GDBMIGenericTestApp.cc
2009-01-08 21:08:05 +00:00

15 lines
265 B
C++

#include <stdio.h>
int main() {
printf("Running Generic App\n");
const char *path = "/tmp/dsftest.txt";
const char *mode = "a";
FILE* fd = fopen(path, mode);
fprintf(fd, "Running Generic App\n");
fclose(fd);
return 0;
}