summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-06 15:47:54 +0800
committerDeterminant <[email protected]>2015-06-06 15:47:54 +0800
commitaee0d372e6b06a217f24bea5c88962b97e0ca0eb (patch)
treea9c9892f6836b94aceaefd797d31d471f0899525 /tools
parentbe0e51156e1af9d619160bba1aa7c2eb2df30731 (diff)
...
Diffstat (limited to 'tools')
-rw-r--r--tools/tnet_to_nerv.cpp4
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)
{