zhao-c / student-information-manage-system Goto Github PK
View Code? Open in Web Editor NEWThis project forked from meihao1203/student-information-manage-system
学生信息管理系统
This project forked from meihao1203/student-information-manage-system
学生信息管理系统
系统功能描述 该系统管理学生的课程信息。系统提供账户的管理和学生信息的管理功能。 系统提供的功能主要有 学生信息的查询、修改、增加、删除,账户信息的查询、修改、增加、删除。 ---------------------------------------------------------------------------------------- 登陆运行提示: ---------------------------------------------------------------------------------------- welcome to SIMS | Please select your account level: | | [0] You are a teacher | [1] You are a student | [2] Exit | | select a number: | ---------------------------------------------------------------------------------------- 登录管理系统的账户分为管理员账户和普通账户: *普通用户只具有查询学生信息的功能: ---------------------------------------------------------------------------------------- [1] search student information [2] exit select a number: ---------------------------------------------------------------------------------------- *管理员用户具有系统提供的所有功能: ---------------------------------------------------------------------------------------- [1] search student information | [2] add student information | [3] update student information | [4] delete student information | [5] search user acount | [6] add user acount | [7] update user acount | [8] delete user acount | [9] exit | | select a number: | ---------------------------------------------------------------------------------------- 系统数据主要存储在三个文件:configure.txt usr_account.txt usr_infor.txt . usr_account.txt 主要用于存放用户账户信息,0表示管理员账户,1表示普通用户 student.txt 主要用于存放学生信息 configure.txt 主要用于存放配置信息:usr_account.txt,usr_infor.txt的位置信息,根据这个路径信息去读下面两个文件 ---------------------------------------------------------------------------------------- 系统在启动时会根据配置文件里的内容去相应文件里去加载账户信息和学生信息 SIMS 用到的结构体: typedef struct user{ char user_name[USER_NAME_LEN+1]; char user_password[USER_PASSWORD_LEN+1]; int users_limit; struct user *next; }USER_ACCOUNT,*pUSER_ACCOUNT; //注册账户信息 typedef struct course{ int course_id; double course_score; }COURSE,*pCOURSE; //多个课程,课程结构体 typedef struct student{ int stu_id; char stu_name[USER_NAME_LEN+1]; COURSE course[COURSE_NUM]; struct student *next; }STUDENT,*pSTUDENT; //学生信息结构体 ---------------------------------------------------------------------------------------- Windows 下的是在windows 10系统下的Visual Studio 2012开发的 Linux 下的是在Linux ubuntu 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux下开发的 ****注**** windows版本随意使用; Linux版本输入信息错误不能退格删除,只能重启;发送SIGINT信号结束进程 Linux版本提示输入信息继续的时候不要出入回车,其他都行;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.