Thread: reading and writing data

  1. #1
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501

    reading and writing data

    I was wondering, what would I use to read in any data and to write it back out, from files. I know I will need fwrite and fread, but what data type should the buffer it is held in, some example code would be helpful, thanx.

  2. #2
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,164
    char
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading in 16 and 24-bit audio data into (32-bit) integer buffers
    By theblindwatchma in forum C Programming
    Replies: 2
    Last Post: 04-13-2008, 11:12 PM
  2. accessing my com port, writing and reading data
    By shoobsie in forum C Programming
    Replies: 7
    Last Post: 09-16-2005, 03:29 PM
  3. Help with Reading and writing binary data
    By Yasir_Malik in forum C Programming
    Replies: 3
    Last Post: 12-12-2004, 09:24 AM
  4. reading and writing to a data file
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 06-17-2002, 10:30 PM
  5. Replies: 2
    Last Post: 12-16-2001, 09:09 PM