Deadline
my deadline for the assignment is April 04, 2009
Uploading instructions
Your Submission must include:
1. A working MakeFile (Dev-C++ project File).
2. All the Source Code(.h and .cpp files) necessary to compile and run your program.
3. Place all the files in a folder then Zip that folder and Upload it on any free file hosting server like
megaupload
RapidShare
and paste the link in your answer
Objective
The objective of this assignment is
- To give you some practice exercise of Linked List.
- Make you able to write methods for the linked according to the given requirements
Assignment
Your task is to implement a Catalog of Books.
1. For this first you have to implement Book class The Book class is a simple class to store information about a particular book and it has the following data members:
o Title of the book (string)
o Author of the book (string)
o ISBN of the book (string)
o Status of the book (bool)
Write default and parameterized constructors and setters getters for the Book class.
2. Catalog class is a linked list of Book objects and that can perform the following functionality.
o Add method to add a book in the Catalog
o printAllBooks method to print all the books in the Catalog.
o searchByAuthor method will take author name as an argument and will find a book written by that author.
o Available method to print all those books that are currently available. If the status of a book is false than it means that book is not available, if the status is true then it means book is available.
3. Include a main function as follows:
o Main will create 5 different books and add them in Catalog
o Print all books present in Catalog linked list.
o Search a Book by its Author name.
o Print all the books which are available.
Hint:
Make Nodes of Book type and then link them to make Catalog linked list. It means there will be another class between Book and Catalog and that is BookNode class.
plzzz help me plzzzzzzzzzz
Is there a particular issue you are having trouble with?
plzzzzzzzzzzz solve my assignment today is my grace day and tomorrow it will be closed
You didn't answer our questions. What do you not understand? Where are you stuck? What have you tried so far?
You haven't shown us what you have so far. We will not do it for you, although I suppose you could give us your teacher's email and we could send the solution directly to your teacher on your behalf.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks