最新学生信息管理系统 原创 工程项目 2022年6月11日 18:22 夏至未至 1667 当前内容 2016 字,在路上,马上到,马上到 ### 目录 [TOC] ### 系统说明 1. 系统分管理员页面和学生页面,不同页面有不同功能。 2. 增、删、查、改,一应俱全。 3. 所有修改均支持 持久化到磁盘,下次启动,直接读取。 4. 代码结构清晰,是数据结构课程设计参考模板首选。 ### 系统展示 ### 有偿源码 #include #include #include #include #include #include #include #include #include #include /*屏蔽4996错误*/ #pragma warning(disable:4996) using namespace std; /*学生信息*/ class studentInfo { public: static int STUDENT_NUMBER; /*学生个数*/ studentInfo() {} ~studentInfo() {} void inputStudentInfo(); friend void initStudentInfo(); friend void showStudentInfo(); friend void updateStudentInfo(); friend void deleteStudentInfo(); friend void sortStudentInfo(); friend void saveStudentInfo(); friend void clearnStudentInfo(); public: long long num; /*学号*/ char name[20]; /*名字*/ char sex[6]; /*性别*/ int age; /*年龄*/ char phone[20]; /*电话*/ } studentInfoList[100]; int studentInfo::STUDENT_NUMBER = 0; void showStudentInfo() { if (studentInfo::STUDENT_NUMBER == 0) cout << endl << setw(10) << "暂无学生信息"; else { cout << "学生信息显示" << endl; cout << "学号" << setw(15) << "姓名" << setw(15) << "性别" << setw(15) << "年龄" << setw(15) << "电话" << endl; for (int i = 1; i <= studentInfo::STUDENT_NUMBER; i++) { cout << studentInfoList[i].num << setw(15) << studentInfoList[i].name << setw(15) << studentInfoList[i].sex << setw(15) << studentInfoList[i].age << setw(15) << studentInfoList[i].phone << endl; } } cout << endl << set ¥10.00 解锁全文 下载资源 本文标题: 最新学生信息管理系统 本文作者: 夏至未至 发布时间: 2022年6月11日 18:22 最近更新: 2023年11月6日 04:55 原文链接: 许可协议: 署名-非商业性-禁止演绎 4.0 国际(CC BY-NC-ND 4.0) 请按协议转载并保留原文链接及作者 C++开发(12) 上一个 支付方式选择HTML源码 下一个 VS2017 cout 不明确问题快速解决 当前文章评论暂未开放,请移步至留言处留言。