Nested Structures, files and pointers
Posted on 2004-09-24
I have a 3 structures and 2 data files in the design of a small CD Library in my suburb. They are nested. 1) CDList which contains the number of CDs and a CD structure. 2) CD structure contains details of CD and a Sale structure. 3)Sale has details of the CD rentals. And 2 Files 1) CD.txt 2) Sales.txt. The data is already loaded in the text files. I think the design is okay. The question is how can we implement nested structures with pointers?