Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.41 KB | None | 0 0
  1. /* Pseudo procedures */
  2. #define beginning_of_data()  { (void)rewind(source_file); stored_byte_status=FALSE; }
  3. #define end_of_data()  (stored_byte_status?FALSE:!(stored_byte_status=((stored_byte_val=fgetc(source_file))!=EOF)))
  4. #define read_byte()  (stored_byte_status?stored_byte_status=FALSE,(unsigned char)stored_byte_val:(unsigned char)fgetc(source_file))
  5. #define write_byte(byte)  ((void)fputc((byte),dest_file))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement