Create a new project code using the processing logic

Assignment Help Computer Engineering
Reference no: EM13767856

Overview - Scenario/Summary

You will code, build, and execute a program that requiressequential files to create an address database.

Learning Outcomes

Continue using a menu system with console applications

Be able to write a console application

Demonstrate entering, appending, storing, and retrieving records

Be able to write lines of output to a text file in order to create a report

Step 1: Requirements: An Address Database

Create a C++ console application that will store and retrieve names and addresses in a text file.

The program should do the following.

It should accept a series of names and addresses from the console.

The user's input should be written to a text file in the CSV format described in the lecture, but do not include the field names in the first row of the file.

Read the records from the text file, and display them in a user-friendly format.

Provide a menu to allow the user to append records to the file, display the records, or exit the application.

Step 2: Processing Logic

Using the pseudocode below, write the code that will meet the requirements.

The pseudocode for the writeData function is shown below.

Start

open the text file to append

start do while loop

Allow user to enter name

store name (using getline method)

Allow user to enter city

store city (using getline method)

.
.

write name, city, etc. to the file

end loop

close the file

End

Step 3: Create a New Project

Create a new project. Write your code using the processing logic in Step 2. Make sure you save your program.

Step 4: Compile and Execute

a) Compile your program. Eliminate all the syntax errors.

b) Build your program and verify the results of the program. Make corrections to the program logic, if necessary, until the results of the program execution are what you expect.

Step 5: Print Screenshots and Program

1. Capture a screen print of your output. (Do a print screen and paste into an MS Word document.)

2. Copy your code and paste it into the same MS Word document that contains the screen print of your output.

3. Save the Word document

Reference no: EM13767856

Questions Cloud

Contentious issue in american history : Form political parties and they should attempt to gain influence in the workings of government for their views and values by entering the realm of political discourse and attempting to elect their own politicians.
What is the portfolio beta-stock portfolio : You own a stock portfolio invested 25 percent in Stock Q, 30 percent in Stock R, 30 percent in Stock S, and 15 percent in Stock T. The betas for these four stocks are .75, 1.13, 1.14, and 1.31, respectively. What is the portfolio beta? (Do not round ..
Is there a significant difference in the proportions : A random sample of 400 college students was selected and 120 of them had at least one motor vehicle accident in the previous two years. A random sample of 600 young adults not enrolled in college was selected and 150 of them had at least one motor ve..
What was the holding period return for the stock : A stock has had returns of 16.42 percent, 12.14 percent, 5.64 percent, 26.50 percent, and ?13.34 percent over the past five years, respectively. What was the holding period return for the stock?
Create a new project code using the processing logic : Create a new project. Write your code using the processing logic in Step 2. Make sure you save your program.
Portfolio that consists of equity ownership in three firms : You have a portfolio that consists of equity ownership in three firms. You own 800 shares of Stout Drink Company (SDC), 600 shares of Carbon Computing (CC) and 650 shares of Serrano Foods (SF). Their current share prices are $114, $20, and $122, resp..
Portfolio that consists of equity ownership in three firms : You have a portfolio that consists of equity ownership in three firms. You own 800 shares of Stout Drink Company (SDC), 600 shares of Carbon Computing (CC) and 650 shares of Serrano Foods (SF). Their current share prices are $114, $20, and $122, resp..
Which portfolio has the lowest risk : Suppose there are three securities (A, B, and C) to choose from to create your portfolio. Next year the economy will be in an expansion, normal, or recession state with probabilities 0.46, 0.36, and 0.18, respectively. The returns (%) on the securiti..
What is the total manufactoring cost : The job cost sheet for Job shows that $23,264 in direct materials has been used on the job and that $10,200 in direct labor cost has been incurred. A total of 1,300 units were produced in Job 313. What is the total manufactoring cost?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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