Share
Explore BrainMass

C++ Header File

Here is what the NAME HEADER file (Name.h) will have:

1. a default constructor

2. 3 private string instance variables for : FIRST NAME, MIDDLE NAME, and LAST NAME

3. getFirstLast Function: it returns the first and middle name and last name in order.

4. print function: it prints the first, middle, and last name.

Solution Preview

Below is the header file. See also the attached file for an example implementation.
=====================================================

#pragma ...

$2.19