In this exercise, you complete a program that uses the FormattedDate class shown in Figure 15-1 in the chapter. Follow the instructions for starting C++ and viewing the TryThis8.cpp file, which is contained in either the Cpp7\Chap15\TryThis8 Project folder or the Cpp7\Chap15 folder. (Depending on your C++ development tool, you may need to open this exercise’s project/solution file first.) If necessary, delete the two forward slashes that appear before the system("pause"); statement and then save the file. Add a header file named TryThis8 FormattedDate.h. In the header file, enter the #include <string> and using namespace std; directives. Then enter the class definition from Figure 15-1. Next, complete the TryThis8.cpp file by entering the appropriate instructions. Use the comments as a guide. Save and then run the program. Test the program appropriately. (The answers to TRY THIS Exercises are located at the end of the chapter.)
REFERENCE: Figure 15-1
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.