Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Pseudo procedures */
- #define beginning_of_data() { (void)rewind(source_file); stored_byte_status=FALSE; }
- #define end_of_data() (stored_byte_status?FALSE:!(stored_byte_status=((stored_byte_val=fgetc(source_file))!=EOF)))
- #define read_byte() (stored_byte_status?stored_byte_status=FALSE,(unsigned char)stored_byte_val:(unsigned char)fgetc(source_file))
- #define write_byte(byte) ((void)fputc((byte),dest_file))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement