文件名称:library
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2015-01-20
- 文件大小:
- 441kb
- 下载次数:
- 0次
- 提 供 者:
- 金**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
c语言,用class编的图书馆借还系统。举例如下:
Welcome to the library management system, please type your commands.
> listbook
There is no book in the system.
> listcustomer
There is no customer in the system.
> addbook 1 book1
book1 added to the system.
> addbook 1 book2
The book ID already exists.
> addbook 2 book2
book2 added to the system.
> addcustomer 1 name1 name1 added to the system.
> addcustomer 2 name2 name2 added to the system.
>borrow 1 1
Success! book1 is borrowed by name1
>borrow 1 2
Fail! The book was borrowed by another customer
> listbook
1 book1 borrowed
2 book2 on shelf
> check c1
Book borrowed by name1:
1 book1
> aloha
Unknown command!
> exit
Exit the system!-c language. a simple library system using class .for example:
Welcome to the library management system, please type your commands.
> listbook
There is no book in the system.
> listcustomer
There is no customer in the system. > addbook 1 book1
book1 added to the system.
> addbook 1 book2
The book ID already exists. > addbook 2 book2
book2 added to the system. > addcustomer 1 name1 name1 added to the system. > addcustomer 2 name2 name2 added to the system. >borrow11
Success! book1 is borrowed by name1 >borrow12
Fail! The book was borrowed by another customer > listbook
1 book1 borrowed
2 book2 on shelf
> checkc 1
Book borrowed by name1:
1 book1
> aloha
Unknown command!
> exit
Exit the system!
Welcome to the library management system, please type your commands.
> listbook
There is no book in the system.
> listcustomer
There is no customer in the system.
> addbook 1 book1
book1 added to the system.
> addbook 1 book2
The book ID already exists.
> addbook 2 book2
book2 added to the system.
> addcustomer 1 name1 name1 added to the system.
> addcustomer 2 name2 name2 added to the system.
>borrow 1 1
Success! book1 is borrowed by name1
>borrow 1 2
Fail! The book was borrowed by another customer
> listbook
1 book1 borrowed
2 book2 on shelf
> check c1
Book borrowed by name1:
1 book1
> aloha
Unknown command!
> exit
Exit the system!-c language. a simple library system using class .for example:
Welcome to the library management system, please type your commands.
> listbook
There is no book in the system.
> listcustomer
There is no customer in the system. > addbook 1 book1
book1 added to the system.
> addbook 1 book2
The book ID already exists. > addbook 2 book2
book2 added to the system. > addcustomer 1 name1 name1 added to the system. > addcustomer 2 name2 name2 added to the system. >borrow11
Success! book1 is borrowed by name1 >borrow12
Fail! The book was borrowed by another customer > listbook
1 book1 borrowed
2 book2 on shelf
> checkc 1
Book borrowed by name1:
1 book1
> aloha
Unknown command!
> exit
Exit the system!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
library\Debug\library.exe
.......\.....\library.ilk
.......\.....\library.pdb
.......\library\Debug\CL.read.1.tlog
.......\.......\.....\CL.write.1.tlog
.......\.......\.....\library.lastbuildstate
.......\.......\.....\library.log
.......\.......\.....\library.obj
.......\.......\.....\link-cvtres.read.1.tlog
.......\.......\.....\link-cvtres.write.1.tlog
.......\.......\.....\link-rc.read.1.tlog
.......\.......\.....\link-rc.write.1.tlog
.......\.......\.....\link.7304-cvtres.read.1.tlog
.......\.......\.....\link.7304-cvtres.write.1.tlog
.......\.......\.....\link.7304-rc.read.1.tlog
.......\.......\.....\link.7304-rc.write.1.tlog
.......\.......\.....\link.7304.read.1.tlog
.......\.......\.....\link.7304.write.1.tlog
.......\.......\.....\link.read.1.tlog
.......\.......\.....\link.write.1.tlog
.......\.......\.....\vc110.idb
.......\.......\.....\vc110.pdb
.......\.......\library.c
.......\.......\library.vcxproj
.......\.......\library.vcxproj.filters
.......\library.sdf
.......\library.sln
.......\library.v11.suo
.......\.......\Debug
.......\Debug
.......\library
library