文件名称:library
-
所属分类:
- 标签属性:
- 上传时间:2015-01-20
-
文件大小:441.01kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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/Debug/library.ilk
library/Debug/library.pdb
library/library/Debug/cl.command.1.tlog
library/library/Debug/CL.read.1.tlog
library/library/Debug/CL.write.1.tlog
library/library/Debug/library.lastbuildstate
library/library/Debug/library.log
library/library/Debug/library.obj
library/library/Debug/link-cvtres.read.1.tlog
library/library/Debug/link-cvtres.write.1.tlog
library/library/Debug/link-rc.read.1.tlog
library/library/Debug/link-rc.write.1.tlog
library/library/Debug/link.7304-cvtres.read.1.tlog
library/library/Debug/link.7304-cvtres.write.1.tlog
library/library/Debug/link.7304-rc.read.1.tlog
library/library/Debug/link.7304-rc.write.1.tlog
library/library/Debug/link.7304.read.1.tlog
library/library/Debug/link.7304.write.1.tlog
library/library/Debug/link.command.1.tlog
library/library/Debug/link.read.1.tlog
library/library/Debug/link.write.1.tlog
library/library/Debug/vc110.idb
library/library/Debug/vc110.pdb
library/library/library.c
library/library/library.vcxproj
library/library/library.vcxproj.filters
library/library.sdf
library/library.sln
library/library.v11.suo
library/library/Debug
library/Debug
library/library
library
library/Debug/library.ilk
library/Debug/library.pdb
library/library/Debug/cl.command.1.tlog
library/library/Debug/CL.read.1.tlog
library/library/Debug/CL.write.1.tlog
library/library/Debug/library.lastbuildstate
library/library/Debug/library.log
library/library/Debug/library.obj
library/library/Debug/link-cvtres.read.1.tlog
library/library/Debug/link-cvtres.write.1.tlog
library/library/Debug/link-rc.read.1.tlog
library/library/Debug/link-rc.write.1.tlog
library/library/Debug/link.7304-cvtres.read.1.tlog
library/library/Debug/link.7304-cvtres.write.1.tlog
library/library/Debug/link.7304-rc.read.1.tlog
library/library/Debug/link.7304-rc.write.1.tlog
library/library/Debug/link.7304.read.1.tlog
library/library/Debug/link.7304.write.1.tlog
library/library/Debug/link.command.1.tlog
library/library/Debug/link.read.1.tlog
library/library/Debug/link.write.1.tlog
library/library/Debug/vc110.idb
library/library/Debug/vc110.pdb
library/library/library.c
library/library/library.vcxproj
library/library/library.vcxproj.filters
library/library.sdf
library/library.sln
library/library.v11.suo
library/library/Debug
library/Debug
library/library
library
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.