文件名称:1
介绍说明--下载内容均来自于网络,请自行研究使用
程序首先定义读者以及图书上限,并同时规定了没位读者的借书上限。以防查找过于复杂,亦可防止数据溢出。在这个程序中,定义的读者与图书上限分别为100,100,借书上限为2。当然,上限的定义十分自由,可选择任意整数,对程序的运行并无影响。
当程序运行时,首先应当给读者提供一个选择操作的菜单。具体到这个程序中,则提供了借书、还书、图书维护、读者维护以及离开共五个选项。每个选项对应一个数字。(当然,对应哪个选项自由设定,对程序并无影响。)当读者按下对应数字键时自动调用函数。
-First define the program book readers and ceiling, and also provides for borrowing limit did not place the reader. Find prevent overly complex, but also prevent data overflow. In this procedure, the upper limit defined by the reader and books were 100,100, borrowing limit is 2. Of course, the very definition of the upper limit of the freedom to select any integer, had no effect on the operation of the program. When the program runs, the first choice should be to provide readers with a menu of actions. Specific to this program, provides a library, books, books maintenance, maintenance, and leave the reader a total of five options. Each option corresponds to a number. (Of course, corresponds to which option is set free, with no impact on the program.) When the reader is automatically invoked by pressing the corresponding number key functions.
当程序运行时,首先应当给读者提供一个选择操作的菜单。具体到这个程序中,则提供了借书、还书、图书维护、读者维护以及离开共五个选项。每个选项对应一个数字。(当然,对应哪个选项自由设定,对程序并无影响。)当读者按下对应数字键时自动调用函数。
-First define the program book readers and ceiling, and also provides for borrowing limit did not place the reader. Find prevent overly complex, but also prevent data overflow. In this procedure, the upper limit defined by the reader and books were 100,100, borrowing limit is 2. Of course, the very definition of the upper limit of the freedom to select any integer, had no effect on the operation of the program. When the program runs, the first choice should be to provide readers with a menu of actions. Specific to this program, provides a library, books, books maintenance, maintenance, and leave the reader a total of five options. Each option corresponds to a number. (Of course, corresponds to which option is set free, with no impact on the program.) When the reader is automatically invoked by pressing the corresponding number key functions.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.cpp