> fscanf(fp, "%c", &Rt);
Perhaps use fgetc() instead.
Does this even work for a binary file, in particular something like a \0 ?
In any event, checking the return result of your file reading...
Type: Posts; User: Salem
> fscanf(fp, "%c", &Rt);
Perhaps use fgetc() instead.
Does this even work for a binary file, in particular something like a \0 ?
In any event, checking the return result of your file reading...