You will not need to manipulate dateTime much. You need only set the values via the constructor or the SetTo method, and using cout to list it in, say, the ls and touch commands. All warranties are void if you try to use it in any other way. The elements of the array are initialized to MAX-INT to indicate that the pointer is not being used. As data blocks are allocated, the length of the array begins to grow.
Special problems exist in the case of directories, however.
When entries are removed, holes are created in the list. Don't worry about them for now. The size must always be adjusted, but the holes can be left alone. Don't use size to figure the end of the list with directories. Later we may add a compaction routine to clean up these ' swiss cheese' directories.