Skip to content

Commit

Permalink
Update AppCondition.h
Browse files Browse the repository at this point in the history
  • Loading branch information
maoguala authored Dec 31, 2024
1 parent e639c52 commit 8e7fc89
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions AppCondition.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void CrtStuSelOpt()
}
else
{
std::cerr << "FILE WAS FAILD TO CREAT, PLEASE TYR AGAING !\n";
std::cerr << "資料無法建立!請再次嘗試!請確定有建立檔案之權限!\n";
return;
}
}
Expand All @@ -220,7 +220,7 @@ void CrtStuSelOpt()
std::ofstream out(Fname, std::ios::out | std::ios::binary);
if (!out)
{
std::cerr << "Failed to create file: " << Fname << '\n';
std::cerr << "建立檔案失敗: " << Fname << '\n';
return;
}
out << "\xEF\xBB\xBF"; //BOM
Expand Down Expand Up @@ -268,7 +268,7 @@ void CrtTchSelOpt()
}
else
{
std::cerr << "FILE WAS FAILD TO CREAT, PLEASE TYR AGAING !\n";
std::cerr << "資料無法建立!請再次嘗試!請確定有建立檔案之權限!\n";
//return 1;
}
}
Expand All @@ -281,7 +281,7 @@ void CrtTchSelOpt()
std::ofstream out(Fname, std::ios::out | std::ios::binary);
if (!out)
{
std::cerr << "Failed to create file: " << Fname << '\n';
std::cerr << "建立檔案失敗:" << Fname << '\n';
return;
}
out << "\xEF\xBB\xBF"; //BOM
Expand Down Expand Up @@ -327,7 +327,7 @@ void CrtCrsSelOpt()
}
else
{
std::cerr << "FILE WAS FAILD TO CREAT, PLEASE TYR AGAING !\n";
std::cerr << "資料無法建立!請再次嘗試!請確定有建立檔案之權限!\n";
//return 1;
}
}
Expand All @@ -340,7 +340,7 @@ void CrtCrsSelOpt()
std::ofstream out(Fname, std::ios::out | std::ios::binary);
if (!out)
{
std::cerr << "Failed to create file: " << Fname << '\n';
std::cerr << "建立檔案失敗:" << Fname << '\n';
return;
}
out << "\xEF\xBB\xBF"; //BOM
Expand Down

0 comments on commit 8e7fc89

Please sign in to comment.