Hi everyone,
Before i outline my problem, i DO have an alright idea of how i'll code this thing, it's just i'm unsure and wondering if there's a better or shorter or a more simple way.
Ok im at the end of my current term of programming and it's Assignment time (*yay*).
To keep this short, the program utilises TWO binary files (which currently work) to store a database using an array of records. It's a program for an imaginary doctor to store his/her patients info and appointments.
So there's got to be this delete procedure, which when you enter the patients id number (string record variable called 'PID'), an asii coded table appears with all appointment records associated with that particular person inside of it. Then (almost done) at the end it gets the user to choose which appointment record they want to delete, each record would have its own id as well. eg:
Persons name
1 record info
2 record info
3 record info
which one gets deleted?: 2 (delete 2, 3 moves up and becomes 2)
that's kind of what it'll look like but in an ascii table with that message underneath.
thanks to anyone for any help,
Quagmire.