更改编码为 utf8

This commit is contained in:
idiot
2026-04-22 17:32:22 +08:00
parent fcc7aa959f
commit ae99d48eda
5 changed files with 138 additions and 138 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ int GetInputInt(const char *prompt)
printf("%s", prompt);
while(scanf("%d", &value) != 1) {
ClearInput();
printf("输入错误,请重新输入: ");
printf("输入错误,请重新输入: ");
}
return value;
}
@@ -24,7 +24,7 @@ double GetInputDouble(const char *prompt)
printf("%s", prompt);
while(scanf("%lf", &value) != 1) {
ClearInput();
printf("输入错误,请重新输入: ");
printf("输入错误,请重新输入: ");
}
return value;
}