diff --git a/TXT/代码统计报告.txt b/TXT/代码统计报告.txt index a65ad65..3898d93 100644 --- a/TXT/代码统计报告.txt +++ b/TXT/代码统计报告.txt @@ -1,7 +1,7 @@ 学生成绩管理系统 - 代码统计报告 ======================================== 生成时间: 2025年 -项目版本: v3.0.0 +项目版本: v3.1.0 ======================================== 项目概述 diff --git a/TXT/系统说明文档.txt b/TXT/系统说明文档.txt index 1027e2e..106ec99 100644 --- a/TXT/系统说明文档.txt +++ b/TXT/系统说明文档.txt @@ -4,7 +4,7 @@ * @details 支持学生信息管理、成绩统计分析、用户权限控制的完整教务管理系统 * @author 刘航宇 * @date 2025-07-12 - * @version 3.0.0 + * @version 3.1.0 * @note * 1. v3.0.0新增功能(最新版本): * - 🏗️ 统一类型管理系统,创建types.h集中管理所有数据结构 @@ -171,10 +171,10 @@ * * 编译命令(v3.0.0统一类型管理版本): * 方式1(推荐):直接编译 - * gcc -Wall -Wextra -std=c99 -g main.c globals.c main_menu.c user_manage.c core_handlers.c statistical_analysis.c student_io.c student_crud.c student_search.c student_sort.c io_utils.c validation.c string_utils.c file_utils.c math_utils.c system_utils.c -o student_system + * gcc -Wall -Wextra -std=c17 -g main.c globals.c main_menu.c user_manage.c core_handlers.c statistical_analysis.c student_io.c student_crud.c student_search.c student_sort.c io_utils.c validation.c string_utils.c file_utils.c math_utils.c system_utils.c -o student_system * * 方式2:分步编译(如需要) - * gcc -Wall -Wextra -std=c99 -g -c *.c + * gcc -Wall -Wextra -std=c17 -g -c *.c * gcc *.o -o student_system * * 运行命令: @@ -192,7 +192,7 @@ * * 系统要求: * - 操作系统:Windows 7+、Linux、macOS - * - 编译器:GCC 4.8+、Clang 3.0+、MSVC 2015+ + * - 编译器:GCC 7.0+、Clang 5.0+、MSVC 2017+(支持C17标准) * - 内存:最少64MB可用内存 * - 存储:最少10MB可用磁盘空间 * - 终端:支持ANSI颜色代码的终端(推荐) diff --git a/TXT/要求.txt b/TXT/要求.txt index fe93082..4e59c41 100644 --- a/TXT/要求.txt +++ b/TXT/要求.txt @@ -146,5 +146,4 @@ int isValidScore(float score); // 验证分数是否合法 (0-100) 4.扩展性: 如果要增加更多的课程信息,或者存储班级信息,你的数据结构需要如何调整? 5.性能: 如果学生数量非常庞大,目前的查找和排序算法是否高效?如何优化? 八、个性化 -可以不参考上面的提示,自己根据自己思路来设计具有自己特色功能的类似功能或者扩展功能或者类似系统。 - \ No newline at end of file +可以不参考上面的提示,自己根据自己思路来设计具有自己特色功能的类似功能或者扩展功能或者类似系统。 \ No newline at end of file diff --git a/main.c b/main.c index a1dc276..056bd53 100644 --- a/main.c +++ b/main.c @@ -9,7 +9,7 @@ * 1. admin - 密码:123456(管理员权限) * 2. teacher - 密码:password(普通用户权限) * @note 编译运行命令: -* gcc -o student_system.exe *.c -I. +* gcc -std=c17 -o student_system.exe *.c -I. ./student_system * @warning 登录失败超过MAX_LOGIN_ATTEMPTS次会强制退出程序 */ diff --git a/student_system.exe b/student_system.exe index 97593c1..00e0dea 100644 Binary files a/student_system.exe and b/student_system.exe differ