更新main_menu.c文件和.gitignore配置
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
# IDE配置文件
|
||||
.trae/
|
||||
|
||||
# 编译输出
|
||||
*.exe
|
||||
*.o
|
||||
*.obj
|
||||
|
||||
# 临时文件
|
||||
*.tmp
|
||||
*.temp
|
||||
|
||||
# 系统文件
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# 备份文件
|
||||
*.bak
|
||||
*.backup
|
||||
|
||||
# 日志文件
|
||||
*.log
|
||||
|
||||
# 调试文件
|
||||
*.pdb
|
||||
*.ilk
|
||||
|
||||
# Visual Studio Code
|
||||
.vscode/settings.json
|
||||
|
||||
# 构建目录
|
||||
build/
|
||||
+2
-1
@@ -92,7 +92,8 @@ void displayStatisticsMenu()
|
||||
printf("0. 返回主菜单\n");
|
||||
printf("\n");
|
||||
printf("当前学生总数: %d\n", studentCount);
|
||||
if (studentCount > 0) {
|
||||
if (studentCount > 0)
|
||||
{
|
||||
printf("系统平均分: %.2f\n", overallAverageScore);
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
Reference in New Issue
Block a user