From aee0d372e6b06a217f24bea5c88962b97e0ca0eb Mon Sep 17 00:00:00 2001 From: Determinant Date: Sat, 6 Jun 2015 15:47:54 +0800 Subject: ... --- tools/tnet_to_nerv.cpp | 4 ++-- 1 file 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) { -- cgit v1.2.3-70-g09d2