By random access I mean begin processing a file at a specified location within the file. When randomly processing a file, a program must know its exact position in the file. Using fseek() I can ask the user to input the record number they wish to view and then go directly to that particular...
I'm writing a program that needs to randomly access a text file. All the books I've read have not been helpful.
Right now the user enters a label code and I search the file sequentially for a match. Because I'm using text files (binary files are not possible - the files are created in a BBx...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.