fix: typo

This commit is contained in:
kuoi 2023-07-17 06:43:44 +08:00
parent 73139aca73
commit 9197ac7df5

View file

@ -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;