Generate a new project called phonebook

Assignment Help Computer Engineering
Reference no: EM131270367

Assignment: Concepts and Ideas

I want you to write a program that reads a text file containing a phone book listing. The program shall read the file, allow new entries, and write the file to disk such that you can extend the text file as people enter new data.

Supplied Items:

1. ReadWrite Project with the MailList class demonstrating reading and writing of the text files.

2. Simple MAP demonstrating the use of a STL MAP. The notes give a good explanation of the Simple MAP program.

3. Address.txt file that contains a starter list for your phone book.

4. MSDN Function Help handout that may help with some of the io functions.

Tasks To Do:

1. Start off looking over the projects, reviewing them and understanding them as much as possible. This will be done in class.

2. Generate a new project called PhoneBook.

3. Add the MailList class to your PhoneBook project.

4. Copy the file io functions to read in the data (address.txt) and fill the array.

5. The problem with the io functions are that they use an array. This will be a problem when you start adding a bunch of people to your phonebook. So you need to use the example SimpleMap program code to implement the STL MAP into your project in place of the array.

6. Once you can read the file, put it into your MAP, and write the file from your MAP, put together a user interface giving the option to query the database for a name to get the number, or add entries.

7. Query means that the user types in a name, the MAP finds the number and returns it.

8. Add information simply means that the user is asked for name, number, address, etc. and a new entry is entered into the map.

9. When the user wants to quit, the contents of the map is saved to file.

Reference no: EM131270367

Questions Cloud

Explain how the maximization problem can be solved : Explain how the maximization problem can be solved without using the method of Lagrange multipliers.- Explain how the minimization problem can be solved without using the method of Lagrange multipliers.
Work scheduling problems : Work Scheduling Problems: Section 3.5 (p.76) #5: Each day, workers at the Gotham City Police Department work two 6-hour shifts chosen from 12 A.M. to 6 A.M., 6 A.M. to 12 P.M., 12 P.M. to 6 P.M., and 6 P.M. to 12 A.M. Formulate an LP that can be used..
How many hours a month does martha work : a) How many hours a month does Martha work? What is her income? b) The government institutes a welfare program that guarantees individuals $2000/month. The guarantee is phased out immediately with the first dollar of income earned. How many hours ..
Give an example of a circuit with a cyclic path : Alyssa P. Hacker says that any Boolean function can be written in minimal sum-of-products form as the sum of all of the prime implicants of the function. Ben Bitdiddle says that there are some functions whose minimal equation does not involve all ..
Generate a new project called phonebook : Generate a new project called PhoneBook. Add information simply means that the user is asked for name, number, address, etc. and a new entry is entered into the map.
How many of each type of set should be manufactured : A manufacturing company produces two models of an HDTV per week,- how many of each type of set should be manufactured per week to minimize cost? What is the minimum cost?
Documented condition to be coded : Past treatments incuded oral gold, penicillamine, and two short bouts of oral predisone. What is the documented condition to be coded?
What is the break-even volume for each plan : A small business company is considering updating the current production line. There are two plans. For plan A, the fixed cost will be $35,000 and the variable cost will be $25 per unit after the update. Suppose the selling price is $35, what is the b..
Set the reserve requirement : Suppose that Second Republic Bank currently has $150,000 in checkable deposits and $97,500 in outstanding loans. The Federal Reserve has set the reserve requirement at 10%. Using these values, fill in the empty cells for reserves, required reserve..

Reviews

Write a Review

Computer Engineering Questions & Answers

  Implement the augmented lagrange multiplier method

Write a computer program to implement the augmented Lagrange multiplier method with a suitable method of unconstrained minimization.

  Cellular network

Calculate how many users a cell may support for a 5% call blocking rate. Suppose that each user generates 35mE of load in the busy hour.

  List the five criteria for systems project selection

List the five criteria for systems project selection. What does COTS stand for? Define tangible costs and benefits. Give an example of each one. When is break-even analysis useful? List the five steps in interview preparation.

  Questionbased on explanation in gps low firm business

questionbased on explanation in gps low firm business processes. generate a database for the gps law firm.you can use

  Make a flowchart and pseudo-code for generating

build a flowchart and pseudo-code for generating a report that prints all of the movies, with all movies made by the same director on one page, as well as the number of movies by each director.

  Build a class hugeinteger which uses a 40-element array

make a class HugeInteger which uses a 40-element array of digits to store integers as large as 40 digits each. Provide methods input, output, add and subtract.

  What is the full design for 16 logic microoperations

what is the full design for 16 logic microoperations - Explain in detail.

  Develop a prototype using a scripting language such as ruby

Develop a prototype using a scripting language, such as Ruby or Python, evaluate this prototype with software engineers and other stakeholders, then review the system requirements. Redevelop the final system using Java.

  Discuss an experience you have had with a team

What are ways that a project manager can ensure that he or she is being given an accurate status report and Discuss an experience you have had with a team that struggled and never really got to the point of functioning smoothly.

  What is the variety of addresses available in each networks

What is the variety of addresses available in each  networks

  Two bluetooth modules to control an led

I am trying to do use two bluetooth modules to control an LEDs. I am using HC05 as master and another as slave. I can get the two bluetooth module to pair up and communicate with one another using a serial communication in the Arduino IDE.

  The solution is about the kinds of ai systems

The solution is about the types of AI systems that could be used to help make systems more efficient. It also explains how they would help.

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