Sequential and binary files in c

This is a discussion on Sequential and binary files in c within the C Programming forums, part of the General Programming Boards category; Can anyone explain the difference in the processing required to update a record in a sequential text file and a ...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    2

    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.
    Thanks

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

  3. #3
    Registered User
    Join Date
    Jan 2007
    Location
    Euless, TX
    Posts
    144
    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, 10:38 AM
  2. Replies: 3
    Last Post: 09-30-2008, 01:10 AM
  3. Replies: 16
    Last Post: 07-12-2005, 09:22 AM
  4. Re : binary search
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 05-27-2002, 12:30 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21