diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tnet_to_nerv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tnet_to_nerv.cpp b/tools/tnet_to_nerv.cpp index cedf27a..bbfddcf 100644 --- a/tools/tnet_to_nerv.cpp +++ b/tools/tnet_to_nerv.cpp @@ -5,9 +5,9 @@ char token[1024]; char output[1024]; double mat[4096][4096]; -int main() { +int main(int argc, char **argv) { std::ofstream fout; - fout.open("converted.nerv"); + fout.open(argv[1]); int cnt = 0; while (scanf("%s", token) != EOF) { |