Thread: hex to ascii

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    May 2020
    Posts
    12
    i can use fgetc and fgetchar too, maybe thats my mistake, the problem involves dealing with a binary file later so maybe im supose to use readf at that point

  2. #2
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Quote Originally Posted by stanley1234 View Post
    i can use fgetc and fgetchar too, maybe thats my mistake, the problem involves dealing with a binary file later so maybe im supose to use readf at that point
    That sounds more correct. What matters with files is how you open them. There are different functions that make reading text files easier, like fgetc, that you know, and there are different functions that make reading binary files easier, like fread, that you know.

    Use the right functions for the right file type.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ASCII character with ASCII value 0 and 32
    By hitesh_best in forum C Programming
    Replies: 4
    Last Post: 07-24-2007, 09:45 AM
  2. ascii rpg help
    By aaron11193 in forum C Programming
    Replies: 18
    Last Post: 10-29-2006, 01:45 AM
  3. Ascii to hex
    By bikr692002 in forum C++ Programming
    Replies: 6
    Last Post: 03-06-2006, 03:53 PM
  4. ascii
    By tetraflare in forum C++ Programming
    Replies: 1
    Last Post: 12-08-2002, 05:00 AM
  5. ascii to hex
    By ripper079 in forum C++ Programming
    Replies: 4
    Last Post: 04-26-2002, 04:26 PM

Tags for this Thread