I'm trying to grab hex characters from a file, and store them in arrays, so I can do some bit manipulation. However, the function I'm using to get the character from file, fgetc() takes in a character coded in ASCII. Is there something like a fgethex() function so I can store something like: "3FFA" in hex as opposed to ASCII? Thanks ahead.