Can anyone explain the difference in the processing required to update a record in a sequential text file and a random access binary file in c. Any example would be welcome.
Thanks
Can anyone explain the difference in the processing required to update a record in a sequential text file and a random access binary file in c. Any example would be welcome.
Thanks
The C language does not differentiate sequential and random access files as such. [There may be extensions in certain C library implementations, e.g. VAX/VMS has a concept of sequential and random access files, and the C library may well have a way to interface with those, but that would be outside of the C standard library specification - it is valid for a particular compiler vendor to implement extensions].
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Google and find out.