class and struct

Completado Publicado Oct 29, 2001 Pagado a la entrega
Completado Pagado a la entrega

b) Create a file Entry.h that contains the new Name class and the Date and Entry classes. Write a main program that includes Entry.h. The main program should prompt the user to enter three Entries, and the program should read Entries from standard input and write them to the file EntryBook.txt. Turn in the files Entry.h, [url removed, login to view], and [url removed, login to view] a) Recall the Name struct, and the associated readName and writeName functions. Re-write this so that Name is a class, with the first name and last name as private member data, and the readName and writeName functions as public member functions. Here's the notes: struct Name { string first; string last; }; struct Date { int day; int month; int year; }; struct Entry { Name name; // Name is a struct Date bday; // Date is a struct }; void readName(istream &ist,Name &theName) { cout << "Last name: "; ist >> [url removed, login to view]; cout << "First name: "; ist >> [url removed, login to view]; } void readDate(istream &ist,Date &theDate) { cout << "Month: "; ist >> [url removed, login to view]; cout << "Day: "; ist >> [url removed, login to view]; cout << "Year: "; ist >> [url removed, login to view]; } void readEntry(istream &ist,Entry &e) { readName(ist,[url removed, login to view]); readDate(ist,[url removed, login to view]); }

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

Programación en C Ingeniería MySQL PHP Arquitectura de software Verificación de software

Nº del proyecto: #2830238

Sobre el proyecto

2 propuestas Proyecto remoto Activo Oct 29, 2001

Adjudicado a:

vw132761vw

See private message.

$22.95 USD en 14 días
(33 comentarios)
4.2

2 freelancers están ofertando un promedio de $33 por este trabajo

daddisonvw

See private message.

$42.5 USD en 14 días
(12 comentarios)
4.2