DEVRY CIS 170 C iLab 7 of 7 Sequential Files
Check this A+ tutorial guideline at
http://www.assignmentclick.com/cis-170/cis-170-c-ilab-7-of-7-sequential-files
For more classes visit
http://www.assignmentclick.com
CIS 170 C iLab 7 of 7 Sequential Files
Lab # CIS CIS170C-A7 Lab 7 of 7: Sequential Files Lab Overview - Scenario/Summary
You will code, build, and execute a program that requires sequential 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 reportDeliverables
Section
Deliverable
Points
Step
Program Listing and Output
45
Lab Steps
Preparation:
If you are using the Citrix remote lab, follow the login instructions located in the iLab tab in Course Home.
Locate the Visual Studio 2010 icon and launch the application.
Lab:
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.
Build upon the code below to complete the assignment.
//Specification: Append and display records in a address database
#include
#include
#include
using namespace std;
void menu(void);
void writeData(void);
void readData(void);
string * split(string, char);
const char FileName[] = "TestAddress.txt";
int main () {
menu();
return 0;
} //end main
void menu(void) {
//allow user to...