Thread View: comp.std.c
1 messages
1 total messages
Started by Magali Marbot (RMC)
Tue, 19 Mar 1996 17:44
About BUFFER_FILE
Author: Magali Marbot (RMC)
Date: Tue, 19 Mar 1996 17:44
Date: Tue, 19 Mar 1996 17:44
23 lines
1133 bytes
1133 bytes
I have a program with FILE typed files and i'd like to allocate some files of this program in the buffer, so i have to use BUFFER_FILE. It's OK but i don't know how to change two instructions : * if (fread(range[y], sizeof(image_data), x_size, image_file) != x_size) with FILE *image_file; * if (fwrite(range[y], sizeof(image_data), x_dsize,output) != x_dsize) with FILE *output; Thus, what can i do to change my FILE in BUFFER_FILE and have the same result ? Maybe should i play with string of the BUFFER_FILE ? If you can help me or you know where i could get a solution, don't hesitate to email me your answer !!! Thanks a lot, Magali ----- Magali Marbot -------- Email : magali@inmos.co.uk ----------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads