Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 5 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 28 Jul 2017 My Price 8.00

information to a binary file

Write a program that will: 1) read an array of records from the keyboard, 2) store this information to a binary file, 3) read from the binary file back to the array of records, 4) store this information to a textfile. Left justify the information for each field. Each record will consist of the following fields:
first name     15 characters
last name     15 characters
street address     30 characters
city         20 characters
state         5 characters
zip        long integer
You may assume a maximum of 20 records.
Sample Run:
Enter the following information
PersonA????1s First Name: Billy
PersonA????1s Last Name: Berry
Street: 205 Main Street
City: Cleveland
State: TX
Zip: 45679
Enter a Y if you would like to input more data
Y
Enter the following information
PersonA????1s First Name: Sally
PersonA????1s Last Name: Connely
Street: 348 Wiley Lane
City: San Francisco
State: Md
Zip: 54789
Enter a Y if you would like to input more data
n
ThatA????1s all the information
The output file contains the following:
First Name Last Name Street City State Zip Code
Billy Berry 205 Main Street Cleveland Tx 45679
Sally Connely 348 Wiley Lane San Francisco Md 54789

Use:#include
#include
#include
#include
#include
#include
using namespace std;

And do we really need the iostream?

Answers

(5)
Status NEW Posted 28 Jul 2017 12:07 AM My Price 8.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------sol-----------uti-----------on.-----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- ca-----------tch-----------

Not Rated(0)