Ok, bit of background. I'm in foundation year of CRTS and I have a major project due in after easter.
Problem is, i can't seem to figure out how to make a delete function for the database taht i've written.
My lecturer seems to think that i should just add a tag to any that are deleted and then get the display functions to ignore anythin' with the tag. Now, in my mind thats pretty damn wasteful cos if the program is being used for a few years you could end up with an external file that is HUGE but hasn't actually got much of value in it.
One idea was to copy everything (except what i want to delete) from the orginal struct to a spare array, and then copy it all back again. Would this work?
Can anyone point me in the write direction please?