文件名称:seedoctor
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-05-07
- 文件大小:
- 774kb
- 下载次数:
- 0次
- 提 供 者:
- 余**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个程序,反应病人到医院看病,排队看医生的情况。在病人排队的过程中,主要重复两件事:
(1)病人到达诊室,将病历本交给护士,排到等待队列中等候诊。
(2)护士从等待队中列中取出一位病人的病例,该病人进入诊室就诊。
要求模拟病人等待就诊这一过程。程序采用菜单方式,器选项及功能说明如下:
1排队——输入排队病人的病历号,加入到病人排队队列中。
2就诊——病人排队队列中最前面的病人就诊,并将其从列队中删除。
3查看队列——从队首到队尾列出所有的排队病人的病历号。
4不在排队,余下依次就诊——从队首到队尾列出所有的排队病人的病历号,并退出运行。
5下班——退出运行。
-Write a program, the patient' s response to the hospital, see a doctor lined case. In patients queuing process is repeated two main things: (1) the patient reaches the clinic, the medical records to the nurse, discharged moderate waiting queue. (2) the nurse removed the case from a patient waiting for the team column, the patient enters the clinic for treatment. Asked simulated patients waiting for treatment in the process. The program is menu mode options and functions are as follows: 1 queuing- queued input patient medical record number, added to the patient queue queue. 2 treatment- patients queuing in front of the patient visits the queue, and remove it from the queue. 3 View Queue- The queue lists all patient records number from the end of the first team to team. 4 does not line up, followed by the remaining treatment- from the first team to the tail of the queue lists all the patient' s medical record number, and quit running. 5 work- quit running.
(1)病人到达诊室,将病历本交给护士,排到等待队列中等候诊。
(2)护士从等待队中列中取出一位病人的病例,该病人进入诊室就诊。
要求模拟病人等待就诊这一过程。程序采用菜单方式,器选项及功能说明如下:
1排队——输入排队病人的病历号,加入到病人排队队列中。
2就诊——病人排队队列中最前面的病人就诊,并将其从列队中删除。
3查看队列——从队首到队尾列出所有的排队病人的病历号。
4不在排队,余下依次就诊——从队首到队尾列出所有的排队病人的病历号,并退出运行。
5下班——退出运行。
-Write a program, the patient' s response to the hospital, see a doctor lined case. In patients queuing process is repeated two main things: (1) the patient reaches the clinic, the medical records to the nurse, discharged moderate waiting queue. (2) the nurse removed the case from a patient waiting for the team column, the patient enters the clinic for treatment. Asked simulated patients waiting for treatment in the process. The program is menu mode options and functions are as follows: 1 queuing- queued input patient medical record number, added to the patient queue queue. 2 treatment- patients queuing in front of the patient visits the queue, and remove it from the queue. 3 View Queue- The queue lists all patient records number from the end of the first team to team. 4 does not line up, followed by the remaining treatment- from the first team to the tail of the queue lists all the patient' s medical record number, and quit running. 5 work- quit running.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
seedoctor\1.dsp
.........\1.dsw
.........\1.ncb
.........\1.opt
.........\1.plg
.........\Debug\1.exe
.........\.....\1.ilk
.........\.....\1.obj
.........\.....\1.pch
.........\.....\1.pdb
.........\.....\seedoctor.exe
.........\.....\seedoctor.ilk
.........\.....\seedoctor.obj
.........\.....\seedoctor.pch
.........\.....\seedoctor.pdb
.........\.....\vc60.idb
.........\.....\vc60.pdb
.........\Debug
.........\seedoctor.docx
.........\~$109余啸.docx
seedoctor