Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92025097
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

What are content management systems cms describe the

What are Content Management Systems (CMS). Describe the challenges in implementing and maintaining CMS. Can internet search engines be considered as Content Management Systems - explain your answer.

Right now the following information is in the header file c

RIght now, the following information is in the header file (C language). # ifndef ArrayBagStack # define ArrayBagStack # define TYPE int # define EQ(a, b) (a == b) struct arrayBagStack { TYPE data [100]; int count; }; Qu ...

Question you can transfer your health data to another

Question: You can transfer your health data to another personal health record provider such as Microsoft HealthVault. What privacy issues are involved? Express your views on using this type of system, make sure to includ ...

Question suppose we run dfs on a undirected graph g that

Question : Suppose we run DFS on a (undirected) graph G that has edge weights and is connected (there is a path connecting any two vertices of G). (a) Prove that the DFS tree is a spanning tree of G. (b) Recall that the ...

Information systemsdirections answer the following if you

Information Systems Directions : Answer the following: If you were asked to develop a logical model of the registration system at a school, would it be better to use a top-down or bottom-up approach? Explain your reasoni ...

The of the steering wheel is used to create a parallel

The _____ of the steering wheel is used to create a parallel plane in the Synchronous Part environment. The _____ option is used to apply the crown by defining its radius and take-off angle. 1-In the Ordered Part environ ...

Question several social networks like facebook or linkedin

Question : Several social networks like Facebook or LinkedIn are able to accurately recommend people you may want to become friends with or connect to. Explain what graph algorithm is relevant for producing this kind of ...

Question some help me to answer this1 discuss the osi

Question: Some help me to answer this 1. Discuss the OSI reference model and TCP/IP model. discuss in details their features, advantages and disadvantages 2. Compare and contrast the two models. The response must be type ...

Question a with respect to huffman coding devise a formula

Question : (a) With respect to Huffman Coding, devise a formula to compute the average compression based on the number of characters in a piece of text, n, and the number of unique characters in its alphabet, m. (b) Does ...

Question 1 select a specific activity or responsibility of

Question: 1. Select a specific activity or responsibility of the systems analyst. Define the purpose of the systems analyst and why it is important in the overall systems analysis process. Write this post to an audience ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As