Create a program that maintains the required book catalog

Assignment Help C/C++ Programming
Reference no: EM13347885

Create a program that maintains the required book catalog for the circulation desk of a library. The book catalog is to be maintained in sorted order. The list is initialized from information stored in the file 'AvailableBooks.txt'. The available book information is to be read from an input file which adds the book title, author and is for each book. The librarian interacts with the list through an interactive menu. The menu would let the librarian to return books, lend books and check if a book is required. In addition there could be a menu option that lets the librarian to print the list of available books at any given time in two modes: in sorted order by book title or in sorted order by author. The quit option could save the current list of available books into the file 'AvailableBooks.txt'. The entire session should be sent to the screen as well as output file 'Session.txt'.

Specific Instructions:

Your program should aid a librarian on a circulation desk to return - lend or check availability of books. The list data is kept sorted alphabetically by book title. The format for the input and output filesare given below:

AvailableBooks.txt                                                         Session.txt           






Baby Day!

Nancy Elizabeth Wallace

978054735808

 

Huckle's Opposites

Richard Scarry

97815725158061

 

Froggy Eats Out

Jonathan London

0439396441

 

Froggy's First Kiss

Jonathan London

0590376098

 

Froggy Learns To Swim

Jonathan London

059027452X

 

The Peace Book

Todd Parr

0316835315

 

 

 

 

 

 

Welcome to the Children's Library!

 

1.  Return Book

2.  Lend Book

3.  Check Availability

4.  Print List

5.  Quit

 

Choose Option: 2

 

Book Title: Froggy Eats Out

 

1.  Return Book

2.  Lend Book

3.  Check Availability

4.  Print List

5.  Quit

 

Choose Option: 3

 

Book Title: The Peace Book

 

This book is available.

...

...

...

 

 

 

 

You to use STL containers and algorithms that you find appropriate. In particular, attempt to remove all loops from the application.

Reference no: EM13347885

Questions Cloud

Imagine that you work for fema or the department of : imagine that you work for f.e.m.a. or the department of homeland security.in light of the problems brought up by
Genome4u is a scientific research project at a large : genome4u is a scientific research project at a large university in the united states. genome4u has recently started a
1 n vehicles occupy squares 1 1 through n 1 ie the bottom : 1. n vehicles occupy squares 1 1 through n 1 i.e. the bottom row of an n times n grid. the vehicles must be moved to
Experimentuse the transistor board provideddc analysisa1 : experimentuse the transistor board provideddc analysisa1 connect a 15 volt supply to vcc and ground and accurately set
Create a program that maintains the required book catalog : create a program that maintains the required book catalog for the circulation desk of a library. the book catalog is to
Question 1 an unanticipated demand-pulled inflation would : question 1 an unanticipated demand-pulled inflation would normally lead to all the following problems except a change
Correlation and regressionuse the subsequent hypothetical : correlation and regressionuse the subsequent hypothetical correlation matrix to answer the first two
It has to be between 210-280 words for each bullet consider : it has to be between 210-280 words for each bullet. consider that your team is a group of economic advisors working for
Consider a and b are symmetric illustrate why the following : consider a and b are symmetric. illustrate why the following are symmetric or not.1 a2 - b22 aba-b3 aba4 abab5

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd