Question: IN C++ CODING, A SKELETON PROGRAM IS PROVIDED. SKELETON: You will modify your implementation of call class. The class will still manage a dynamic array
IN C++ CODING, A SKELETON PROGRAM IS PROVIDED.





SKELETON:





You will modify your implementation of "call class". The class will still manage a dynamic array of call records. Call this program "call stats7.cpp". I have provide the driver "call stats7cpp" to help you implement this program. Your input data will be in the file "callstats_data.txt. The descriptions of the functions you will implement are as follows 1. (you implemented this in the previous program) the default constructor to initialize the state of your class. The default constructor will read the data from the file "callstats_data.txt" into the dynamic array call DB. If call_DB becomes full, the function should call the function "double_size" to double the size (capacity) of call DB. Remember, count and call DB passed to an member function of your class are private members of your class and do not need to be 2. (you implemented this in the previous program) is_empty is a Boolean public member function of the class. It has no formal p count is a member of the state of the class (private member) and does not need to be passed to it because the state of the class if known to all member functions of the class. If count =0 then true is returned; otherwise false is returned. 1 parameter because
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
