reading and writing data

This is a discussion on reading and writing data within the C Programming forums, part of the General Programming Boards category; I was wondering, what would I use to read in any data and to write it back out, from files. ...

  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,161
    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-14-2008, 12:12 AM
  2. accessing my com port, writing and reading data
    By shoobsie in forum C Programming
    Replies: 7
    Last Post: 09-16-2005, 04: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, 11:30 PM
  5. Replies: 2
    Last Post: 12-16-2001, 09:09 PM

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