wwyf / library Goto Github PK
View Code? Open in Web Editor NEWIt's a simple system.
It's a simple system.
************************************************************* *** Welcome to the Book Managerment System. *** *** Before you use these system, *** *** Please read these instructions carefully. *** *** a): add a book *** *** d): delete a book *** *** b): borrow a book *** *** r): return a book *** *** f): view a book *** *** p): view all books *** *** q): quit this system *** *** *** *** All Copyright by Walker. *** ************************************************************* 1. 启动程序 需要按一下回车 当看到“Now please enter your choice”时,即可输入命令 2. 输入命令 方式:输入命令对应字母,并按回车 若命令不存在,将会提示该命令“invalid”,并需要重新输入 3. 各命令详解 a):加入一本新书,并为新书创建唯一id 在加入新书过程中需要输入书名 若书名已存在,仅增加数目 若书名不存在,创建一个新条目并增加数目 d):删除一本书 需要输入书名及该书对应id 若书本已借出,将不能删除 b):借阅一本书 借阅过程需要输入书名及对应id 若不存在或已被借阅将会输出错误信息并返回 r):归还一本书 需要输入书名与对应id 若不存在或未被借阅将会输出错误信息并返回 f):查询一本书 需要输入书名 将会返回该类书条目下所有的书的状态 以及馆藏数目还有剩余未被借出的数目 p):查看所有的书 将会返回所有书的信息 q):退出系统 退出系统后需要再按一次回车才能关闭窗口 4. 关于输入限制 书名中可以包含空格 输入的命令只有首位有效,后面的会被自动丢弃
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.