summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-20 19:55:28 +0800
committerDeterminant <[email protected]>2015-06-20 19:55:28 +0800
commit701181d625cfcc59d264db97e5270aa14f1f5d36 (patch)
tree45c29655508a32bda42d7d54795a841ffa89719f
parent63bb01841e01d80b4104613f16f5ef807abc761f (diff)
parentaee0d372e6b06a217f24bea5c88962b97e0ca0eb (diff)
Merge branch 'master' of https://github.com/Determinant/nerv-speech into HEAD
-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)
{