标题:不求御坂美琴 只求deng师傅 抽空看完 指点一二 学生管理系统设计
取消只看楼主
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
结帖率:100%
已结贴  问题点数:100 回复次数:9 
不求御坂美琴 只求deng师傅 抽空看完 指点一二 学生管理系统设计
                                            大一学生管理系统

刚学完C 为了检查下自己是否过关  做了地摊上买的书过关题 学生管理系统  

本来代码都写一半了 忽然想起 printf scanf 二函数的 重大缺陷 就果断放弃了 转而用更安全的C++

刚学完C C++毛都不知道半点(所知道的都是学C时查阅的)

为了早日过了C 去学其他语言 允许自己先设计出框架 日后学了C++    在补全代码




1; 我认为主要需要实现以下5大功能
                                                                                                                                                                       ———————————————————
                                          |                                  |
                                          |            用户登入                |
                                          |                                    |
                                          |            密码验证                |
                                          |                                    |
                                          ———————————————————
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |  
                                                          |
                                                          |
                                                          |
             _____________________________________________|_________________________________________
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
__________________________________  _________________________________________________   ________________
     :学生成绩管理            |  |                :学生选课管理               |   |     :  学生
                                 |  |                                               |   |       宿舍管理
—————————————————  —————————————————————————  ————————
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
———————————————— |  |————————————————————————|  |————————
a :学生成绩系统菜单界面功能选择 |  |a :学生选课系统菜单界面功能选择                |  |a :设计学生宿舍
                                 |  |                                                |  |    菜单能够系统
                                 |  |                                                |  |       功能选择
b :修改指定学生成绩的记录       |  |b :学生选课                                    |  |b :实现信息的录
                                 |  |                                                |  |          入功能
c :输入学生成绩                 |  |c :查看已选课程                                |  |c :在已有信息的
                                 |  |                                                |  |    基础上添新的
                                 |  |                                                |  |            记录
d :显示学生成绩                 |  |d :增加学生                                    |  |d :删除指定房间
                                 |  |                                                |  |        号的记录
e :排序 统计成绩                |  |e :增加课程                                    |  |e :修改指定房间
                                 |  |                                                |  |    号记录
f :查找学生成绩                 |  |f :查看所有学生 课程 老师                      |  |f :实现信息
                                 |  |                                                |  |     的浏览功能
g :增加学生成绩                 |  |g :删除学生                                    |  |h :按已入住人数
                                 |  |                                                |  |        排序功能
h :删除学生成绩                 |  |h :删除课程                                    |  |g :实现信息的浏
                                 |  |                                                |  |          览功能
i :返回成绩管理菜单             |  |i :删除老师                                    |  |j :返回宿舍管理
                                 |  |                                                |  |            菜单
                                 |  |j :返回选课管理菜单                            |  |
—————————————————   ————————————————————————    ————————
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             |                                            |                                        |
             ————————————————————————————————————————————
                                                          |                     
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |
                                                          |
                                         ———————————————————
                                         |                                  |
                                         |             用户安全               |
                                         |                                    |
                                         |              退出                  |
                                         |                                    |
                                         ———————————————————

接下来是对5功能中3大核心功能进一步设计




                     //构造函数Information()  
                       ~Information() ;用于形成 欢迎和退出您使用学生管理系统界面
果断 password()
         
main()  
{
                    menuxueshengguanli
                             1, 学生成绩操作
                             2, 学生选课操作
                             3, 学生宿舍操作            
                    menu1
                             1,修改指定学生成绩的记录
                             2,输入学生成绩
                             3,显示学生成绩
                             4,排序 统计成绩
                             5,查找学生成绩
                             6,增加学生成绩
                             7,删除学生成绩
                             0,返回主菜单  

                    menu2   
                             1,选择课程
                             2,退选课程
                             3,查看已选课程
                             4,增加学生              
                             5,增加课程
                             6,增加老师
                             7,查看所有学生 课程 老师
                             8,删除学生
                             9,删除课程
                            10,删除老师
                             0,返回主菜单

                   menu3


                             1,实现信息的录入功能。
                             2,在已有信息的基础上添加新的记。
                             3,修改指定房间号的记录
                             4,实现信息的浏览功能
                             5,按已入住人数排序功能
                             6,实现信息的浏览功能
                             0,返回主菜单
                                          
      输入学号 姓名 与 menu() password()联系上           


}


















               
学生成绩管理
                                          
//定义学生信息结构体struct student 1存放姓名 2存放性别
3存放学号 4存放分数 5存放总分数



//构造学生类class Information  
{public Information() ;
  ~Information(); 用于形成欢迎或退出您使用学生成绩管理系统界面
1*creat()链表函数
2指针函数*insert()用来增添考生信息
3指针函数*cancel()用来删除考生信息
4指针函数*find()用来查找考生信息
5 sort()函数将考生的总分从大到小排列并输出
6 average()求学生成绩的平均分
7save()写入
8*write()写出
9函数total()统计考生总数
10output()函数将考生的信息从头指针所指内容开始输
private: ·······························。
 }                       
/*
1定义一个指向struct student的结构体指针函数*creat()用来增加考生信息  
2插入新结点定义一个指向struct student的结构体指针函数*insert()用来添加考生信息
3定义一个指向struct student的结构体指针函数*cancel()用来删除考生信息
4定义一个指向struct student的结构体指针函数*find()用来查找考生信息{需求按姓名 学号查询}.
····对类相关部分操作
*/

//chengji函数 用do ````while 进行选择





学生选课管理

定义课程信息类


                  struct course 1数量 2名字 3老师
                  calss subject  
                                 public
                                 1,create()
                                 2,delete()删除课程
                                 3,find()按课程号查找课程
                                 4,writ()
                                 5, read()
                                 6,display()在屏幕上输出全部课程信息
                                 7,xuanke()
                                 
                对 create() 进行 输入课程名 任课老师 课程学分 增加课程 插入建链表{成功不成功都给于提示}
                对 delete() 按课程号删除 {成功不成功都给于提示}
                对 find()   {成功不成功都给于提示}
                对 writ()   {成功不成功都给于提示}
                对 read()   {成功不成功都给于提示}
                对 display()课程名  任课老师   {成功不成功都给于提示}
                 

                  struct teacher 1数量 2名字 3职称
                  class teacher
                                  public  
                                  1,create()
                                  2,delete()
                                  3,定义2个find()姓名 和老师号
                                  4,writ()
                                  5,read()
                                  6,display()
            
                  对 create()老师证号 姓名 职称 插入建链表 {成功不成功都给于提示}
                  对 delete(){成功不成功都给于提示}
                          ·
                          ·
                          ·
                          ·
                          ·
                          ·

                  struct student 1数量 2名字
                           {同上}
 


                  class student {1数量 2名字
                                   public
                                   1,addcourse() 学生选课
                                   2,find()按课程号查找已选课程
                                   3,cancel()退选
                                   4,showcourse()显示已选课程
                                   5,get_credit() 获取已选课程总学分
                                   6,write()
                                   7,read()
                    
                   对 类中各函数进行 功能 实现




                 temple <class H>
                                  add(H P)对P操作

                 
                 temple <class H>
                                  find(H P)对P操作         


                 temple <class H>
                                  delete(H P) 对P操作


                 xuanke()选课 继续选课  查看老师信息


                 tuixuan()退选课程号 继续退选                           

                 yixuan()查看已选课程 已选课程总分
               
                 tuichu() 退出系统
                     
                                                   
学生宿舍管理

//定义struct student结构体 1姓名 2性别 3宿舍号
4 MSN账号 5手机号 6家庭地址
               
                                       
//学生类
1*creat()链表函数
2指针函数*insert()用来增添学生信息
3*cancel()()删除学生信息
4 定义3个*find()按姓名 学号 宿舍分别查询  
6*sort()排序统计学生信息
7save()写入
8*write()
9输出学生信息
                                       
//对类中各函数 进行操作
                                       
// sushe函数 用do ````while 进行选择
                                         

[ 本帖最后由 风生钧起 于 2011-8-18 05:32 编辑 ]
搜索更多相关主题的帖子: 设计 师傅 御坂美琴 管理系统 大一学生 
2011-08-18 04:35
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
此帖 问题 1: 指出设计不足

          2: 怎么使3个系统在同一操作界面 进行功能选择 (只求如何设计 不需要代码)

          3: 用户安全退出 如何设计 才叫安全(我总觉得草草退出有问题)

          4: 跪求比较专业的设计文档 以上都是在记事本中写的 茫茫的 难


就这么个破设计         搞的我天天脑残   

                                                                                    给自己签个名
                                                                                                力钧

[ 本帖最后由 风生钧起 于 2011-8-18 05:53 编辑 ]

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-18 04:41
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
回复 4楼 TonyDeng
能举个  五脏具全的  小设计?

第一次 搞这样的  以前 视频  书上 都是 拿个题目 来编译就是

不需要考虑到设计

word  不是很会  你贴下图 给我看下 大概?

[ 本帖最后由 风生钧起 于 2011-8-18 10:31 编辑 ]

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-18 10:10
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
回复 5楼 laoyang103
半年之后吧 !看能行不
现在 问题出在设计

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-18 10:10
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
恩  我明白了点  我会慢慢来  

半年后在发代码  求指教

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-18 10:24
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
回复 10楼 TonyDeng
不会 是不精通的意思

我用Visio   比记事本 好就可以

[ 本帖最后由 风生钧起 于 2011-8-18 10:28 编辑 ]

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-18 10:27
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
天道酬勤

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-18 14:52
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
求你 告诉我 更好的 方法 设计  跪求!

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-18 16:55
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
谢谢
闭关  在解决 这一问题 可能近期不会出现

多谢 deng师傅 教导做人理论

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-20 18:54
风生钧起
Rank: 4
来 自:江西
等 级:业余侠客
帖 子:383
专家分:246
注 册:2011-7-26
得分:0 
回复 25楼 TonyDeng
恩 衷心谢谢 辛苦了deng师傅
我会靠自己能力解决 这一整个问题

请给我点时间成长  这只是个小问题 以后大的问题还需您 多多提携

[ 本帖最后由 风生钧起 于 2011-8-20 19:56 编辑 ]

墨一世红颜倾醉己    霁天谁与话风流

修仙``````````````````````````````````````````````
2011-08-20 19:55



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-347826-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.045950 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved