From 9197ac7df5ebc875a3cd0bc477817c6586d86434 Mon Sep 17 00:00:00 2001 From: Kuoi Date: Mon, 17 Jul 2023 06:43:44 +0800 Subject: [PATCH] fix: typo --- tnt2winclada.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tnt2winclada.cpp b/tnt2winclada.cpp index 00721e9..469aa02 100644 --- a/tnt2winclada.cpp +++ b/tnt2winclada.cpp @@ -45,7 +45,7 @@ void interactive_commands() << endl; } else { - ifstream infile(filename1.c_str()); + ifstream infile(filename1); if (infile.good()) { inputFileName = filename1; cout << "tnt2winclada> Input file set " @@ -79,7 +79,7 @@ void interactive_commands() << endl; } else { - ofstream outfile(filename2.c_str()); + ofstream outfile(filename2); outputFileName = filename2; cout << "tnt2winclada> Output file set to " << filename2 << endl;