Question: Help needed to build this c++ program with visual studio . Thanks! Client Class - Class Composition (Aggregation) Create the new project AssignO5-ClientComposition. Click the

Help needed to build this c++ program with visual studio . Thanks!  Help needed to build this c++ program with visual studio .
Thanks! Client Class - Class Composition (Aggregation) Create the new project AssignO5-ClientComposition.

Client Class - Class Composition (Aggregation) Create the new project AssignO5-ClientComposition. Click the Project tab and select Add Class.. Click C++ Class and then the Add button to add class files to the project. Create simple classes Name and Addr. Code the .h header files and.cpp implementation modules for these two classes: Use this class description (public function prototypes and private functions and data members) for Name.h: Name.h class header #pragma once #include using namespace std; class Name public: Name(); Name(string 1, string f, string m) void setName(string 1Name, string fName, string mid); void displayName) cost; l display first middle last name string to cout private: string last; string first; string middle; Code the Addr class using this Addr.h specification: #pragma once #include using namespace std; class Addr Addr.h class header public: Addr); Addr(string strAddr, string city, string state, string zip): construct 4-part address informatio void setAddr(string a, string c, string s, string z); I/set streetAddr, city, state, zip void displayAddr) const; / default constructor /l display address info on two lines private: string string string string streetAddr; city; state; zip; I/ street Addr- number and street (plus direction and qualifiers - like Ave. Rd. Blvd.) / 5-digit zip code 1881 rtha L. Barton Kansas City, MO 64118 larold Engle output of displayClient () 11 E. 68th St ansas City, HO 64129 ClientComposition.cpp Durton Ray Worthinyton 35 Be1lefontaine Add Client class .h and.cpp files to the project The Client class is comprised of a numeric identifier, plus the aggregated contents of an instance of the Name and Addr classes. Kansas City. NO 64189 1081 o addpress no city. no state Press any hey to continae

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!