Hello, I have to read in a Ascii file and manipulate the data in the file as numeric (hexadecimal) values instead of as characters. I was wondering if there was some sort of call in the C library to do this, or do I need to write something myself. So as an example, say I have the following text file:
I need to open this and retrieve the data and manipulate it as it's numeric ASCII values. The reason for this is because I've implemented an encryption algorithm, and I need to read in the values as bytes instead of as plain text. There may be a really easy way to do this, so before I attempted to create my own function, I thought I'd post this.
Thanks for any suggestions.