CS245 - CS II Spring 1997 LAB 10
Due by the end of lab(April 8, 1997):
- Copy the program reallist.cpp the from the share drive \\jaring\cs245 to your disk.
- Read the program carefully.
- Answer the following questions. (You will need to create a datafile to test your program).
- Draw a picture of the structure when the data file contains the values 11.1, 22.2, 33.3, 44.4. Use a slash (/) to represent NULL.
- What is printed?
- Draw a picture of the structure when the data file is empty.
- What is printed?
- Change the ComponentType to char and answer the following questions.
- Draw a picture of the structure when the data file contains the values a, 1, ], b. Use a slash (/) to represent NULL.
- What is printed?
- Draw a picture of the structure when the data file is empty.
- What is printed?