Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

I have to make a C++ console application that will store and retrieve names and addresses in a text file.

I have to make a C++ console application that will store and retrieve names and addresses in a text file. BUILDING

UPON THE CODE. MORE DETAILS ARE IN THE ATTACHMENT BELOW.

Create a C++ console application that will store and retrieve names and addresses in a text file.The program should do the following.1.It should accept a series of names and addresses from the console.2.The user’s input should be written to a text file in the CSV format described in the lesson, but do notinclude the field names in the first row of the file. Use a delimiter to separate the records.3.Read the records from the text file, and display them in a user-friendly format.4.Provide a menu to allow the user to append records to the file, display the records, or exit theapplication.Build upon the code below to complete the assignment.//Specification: Append and display records in a address database#include<iostream>#include<fstream>#include<string>usingnamespacestd;voidmenu(void);voidwriteData(void);voidreadData(void);constcharFileName[] =“TestAddress.txt”;intmain () {menu();return0;}//end mainvoidmenu(void) {//allow user to choose to append records, display records or exit the program}//end menuvoidwriteData(void){//Write the Address Info to a file//loop while user still has data to write to file//eg outStream<<name<<”#”; //where # is the delimiter
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"