From 32bee1d5baa65a4e7ab4071acbb6ec49596dcac7 Mon Sep 17 00:00:00 2001 From: LHY20 <3364451258@qq.com> Date: Sat, 19 Jul 2025 19:53:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=92=8C=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .trae/rules/project_rules.md | 1 + globals.h | 2 +- main.c | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .trae/rules/project_rules.md diff --git a/.trae/rules/project_rules.md b/.trae/rules/project_rules.md new file mode 100644 index 0000000..e9d99f6 --- /dev/null +++ b/.trae/rules/project_rules.md @@ -0,0 +1 @@ +github的仓库地址为https://github.com/LHY0125Student-Grade-Management-System.git \ No newline at end of file diff --git a/globals.h b/globals.h index 9c21587..a3c66d4 100644 --- a/globals.h +++ b/globals.h @@ -33,6 +33,6 @@ extern int currentSortCriteria; // 当前排序依据 extern int currentSortOrder; // 当前排序顺序 // 统计缓存 -extern StatisticsCache statsCache; // 统计分析缓存 +extern StatisticsCache statsCache; // 统计分析缓存 #endif // GLOBALS_H \ No newline at end of file diff --git a/main.c b/main.c index 72ddf63..a1dc276 100644 --- a/main.c +++ b/main.c @@ -4,8 +4,6 @@ * @details 学生成绩管理系统的主入口函数,负责系统初始化、用户登录验证、 * 主菜单循环处理和系统清理等核心流程 * 程序流程:设置编码 -> 系统初始化 -> 用户登录 -> 主菜单循环 -> 数据保存 -> 系统清理 -* @param argc 命令行参数个数(当前未使用) -* @param argv 命令行参数数组(当前未使用) * @return 程序退出状态码:0表示正常退出,-1表示异常退出 * @note 系统预设用户账户: * 1. admin - 密码:123456(管理员权限)