Question: Description In this project you will implement a system for keeping track of articles from publications. The articles will contain a title, one or more

 Description In this project you will implement a system for keeping

Description In this project you will implement a system for keeping track of articles from publications. The articles will contain a title, one or more authors, a publication name, a publication date, a range of pages, and a list of keywords. So, an example article may be Title: A Simple Model of Ocean Waves Author 1: Alan Fournier Author 2: William T. Reeves Publication Name: SIGGraph Proceedings Publication Date: August 1986 Pages: 75-84 Keyword 1: Computer Graphics Keyword 2: Animation Keyword 3: Waves Rather than having each record contain all the fields given above they are intended to refer to a list of items. There will be a list of Authors, a list of Publication Names, and a list of keywords These should use smart pointers to refer to the objects so that when the last reference to an item is removed the object will be deleted. You will be able to read in a list of these items and, as you read them in you will build a hashed list of the items. You will have commands to add, delete, list, and search the articles Details We will work on a simple input method and type in class. You will need to implement the routines to implement commands and to output the revised list of items when the program is exitted. The commands to be entered are A- Add an article D - Delete an article - The article should be identified by title. If more than one article exists with the same title the user should be presented with a choice and should be asked if they want to delete the given article L -List all the articles S - Search the articles. Allow the user to search articles using a string. If the string is in the title, authors, publication name, or keywords the article should be displayed. Q - Save the articles to a file and quit the program. Assume the name of the input and output file will be "articles.txt". Hints As usual, build the program in pieces. Do NOT write the entire program and then start to test it. Use strings for fields. It may be tempting to use integers for pages but it is not safe Description In this project you will implement a system for keeping track of articles from publications. The articles will contain a title, one or more authors, a publication name, a publication date, a range of pages, and a list of keywords. So, an example article may be Title: A Simple Model of Ocean Waves Author 1: Alan Fournier Author 2: William T. Reeves Publication Name: SIGGraph Proceedings Publication Date: August 1986 Pages: 75-84 Keyword 1: Computer Graphics Keyword 2: Animation Keyword 3: Waves Rather than having each record contain all the fields given above they are intended to refer to a list of items. There will be a list of Authors, a list of Publication Names, and a list of keywords These should use smart pointers to refer to the objects so that when the last reference to an item is removed the object will be deleted. You will be able to read in a list of these items and, as you read them in you will build a hashed list of the items. You will have commands to add, delete, list, and search the articles Details We will work on a simple input method and type in class. You will need to implement the routines to implement commands and to output the revised list of items when the program is exitted. The commands to be entered are A- Add an article D - Delete an article - The article should be identified by title. If more than one article exists with the same title the user should be presented with a choice and should be asked if they want to delete the given article L -List all the articles S - Search the articles. Allow the user to search articles using a string. If the string is in the title, authors, publication name, or keywords the article should be displayed. Q - Save the articles to a file and quit the program. Assume the name of the input and output file will be "articles.txt". Hints As usual, build the program in pieces. Do NOT write the entire program and then start to test it. Use strings for fields. It may be tempting to use integers for pages but it is not safe

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!