Thread: read byte

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

    read byte

    okay! ı want to read byte from file than ı calculate byte^1 and ı write it to new file.. how can ı do this??

  2. #2
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    First you need to learn how to use an fstream (or an older C file function if you really want to go there): http://www.cppreference.com/cppio/index.html

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fscanf function won't read my float value...?
    By qpsnhalfs in forum C Programming
    Replies: 8
    Last Post: 07-07-2009, 11:01 PM
  2. Noob Q: How to read a value of a byte in binary?
    By Hitsuin in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2009, 02:46 PM
  3. bytes lost with partial read in UDP
    By mynickmynick in forum Networking/Device Communication
    Replies: 3
    Last Post: 03-31-2009, 02:06 AM
  4. Newbie sockets question/problem
    By (Slith++) in forum Networking/Device Communication
    Replies: 6
    Last Post: 12-06-2007, 12:23 AM
  5. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM