Thread: Sequential and binary files in c

  1. #1
    Registered User
    Join Date
    May 2008

    Sequential and binary files in c

    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.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    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].

    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.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Euless, TX
    Google and find out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sequential Labeling Algorithm
    By Suchy in forum C++ Programming
    Replies: 10
    Last Post: 10-02-2008, 09:38 AM
  2. Replies: 3
    Last Post: 09-30-2008, 12:10 AM
  3. Replies: 16
    Last Post: 07-12-2005, 08:22 AM
  4. Re : binary search
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 05-26-2002, 11:30 PM