Ok, this is what I need to do. I need to write a function to open a file, get the data of 1 byte at a certain offset in the file, and store it in a variable. I have been trying to do this for the last two days and I just can't figure it out. This is what I have come up with.
int GetData(char FileName[255])
{
FILE *file;
char buff;
file = fopen(FileName, "r");
fseek(file, 0x3113, 0x0000);
fread(&buff, sizeof(buff), sizeof(buff), file);
}
I suck...