From 28db1b4a012a867e60ab43b8ae2b0c47f611f5cf Mon Sep 17 00:00:00 2001 From: LHY20 <3364451258@qq.com> Date: Sun, 27 Jul 2025 20:42:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=B3=BB=E7=BB=9F=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E5=92=8C=E7=94=A8=E6=88=B7=E6=95=B0=E6=8D=AE=EF=BC=8C?= =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=A1=B9=E7=9B=AE=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 41 +++++++++++++++++++++++++++++++++++++++++ Makefile | 2 +- TXT/系统说明文档.txt | 4 ++-- data/users.txt | 2 -- main.c | 1 + 5 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f6235a --- /dev/null +++ b/.gitignore @@ -0,0 +1,41 @@ +# IDE配置文件 +.trae/ + +# 编译输出 +*.exe +*.o +*.obj + +# 临时文件 +*.tmp +*.temp + +# 系统文件 +.DS_Store +Thumbs.db + +# 备份文件 +*.bak +*.backup + +# 日志文件 +*.log + +# 调试文件 +*.pdb +*.ilk + +# IDE配置文件 +.idea/ +.vscode/ + +# 构建目录 +build/ + +# 安装程序 +backup/ +dist/ + +# 批处理文件 +*.bat +*.iss \ No newline at end of file diff --git a/Makefile b/Makefile index c7ef470..0177a94 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # 学生成绩管理系统 Makefile # 编译器设置 CC = gcc -CFLAGS = -Wall -Wextra -std=c99 -g +CFLAGS = -Wall -Wextra -std=c17 -g # 目标文件 TARGET = student_system diff --git a/TXT/系统说明文档.txt b/TXT/系统说明文档.txt index 106ec99..1b2c832 100644 --- a/TXT/系统说明文档.txt +++ b/TXT/系统说明文档.txt @@ -3,8 +3,8 @@ * @brief C语言学生成绩管理系统 * @details 支持学生信息管理、成绩统计分析、用户权限控制的完整教务管理系统 * @author 刘航宇 - * @date 2025-07-12 - * @version 3.1.0 + * @date 2025-07-27 + * @version 3.2.0 * @note * 1. v3.0.0新增功能(最新版本): * - 🏗️ 统一类型管理系统,创建types.h集中管理所有数据结构 diff --git a/data/users.txt b/data/users.txt index d030942..7b10167 100644 --- a/data/users.txt +++ b/data/users.txt @@ -1,4 +1,2 @@ admin:123456:1 teacher:password:0 -LHY:1234:0 -lhy:1234:1 diff --git a/main.c b/main.c index 056bd53..52a681a 100644 --- a/main.c +++ b/main.c @@ -141,5 +141,6 @@ int main() // 清理系统资源 cleanupSystem(); + return 0; } \ No newline at end of file