I have a file opened and in a loop I can access each byte seperately. How would I go about accessing advanced bytes in a file?
example:
while ((byte=fgetc(myfile)) != EOF) {
printf("%c ",byte);
}
Inside the loop, how do I access (byte+1). Actually using byte+1 gives me the next ascii code in front of byte(no good). Help anyone?