3 Define Implement Person Class Data Members Described Name Age B Next Create Stl Deque P Q37080798

Program in C++

3. (a) Define and implement a Person class, which has data members as described below: . Name Age (b) Next, you will create a

3. (a) Define and implement a Person class, which has data members as described below: . Name Age (b) Next, you will create an STL deque of Person objects as follows: . Call the deque StoreDeque. . Initialize the deque with about 5 Person objects. . Create a loop with discrete time steps t = 1, 2, M. At each time step, either 0 or 1 Person object gets added to

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.