hi all and thanks for reading. Personally i thought i wouldnt be in the frame of putting up one of my assignments, as i can see where an opinion might be formed, over me trying to pull as fast one and get someone to code this for me etcetc etc.....
But can someone tell me if im right in thinking it means...either:
1. create an array
2. create a struct
3. create *ptr array and one of the above
All to include user input and then to ba able to be saved appened and written to (using "r+a" syntax, at a newb guess) or am i looking at it to complicated, i dunno.
but some real help and advice would be nicey nice, if poss.
i just have to ask, ...would you consider being taught about files and records in Pascal a good way of learning about files records (or i think they are called structs or typedefs in C) for use in C.
I dont think so......... but would love to know an opinion or two on it.
My lecturer solidly believes otherwise, this is a frustration to me!but am willing to throw my hands up and be corrected etc :)
Create a data file called Person.dat (or Person.txt)
Each line of the file (record) should contain Firstname, Surname, Postcode, dob.
The user must be able to:
i) Add a record to the file (append)
ii) Display the contents of the file
my issue is knowing where to start ?