Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- main () {
- FILE* f=fopen("h.bin", "ab");
- long int h[6];
- fread(h,sizeof(long int),6,f);
- fwrite(h,sizeof(long int),6,f);
- fflush(f);
- fclose(f);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement