Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. #include <stdio.h>
  2. main () {
  3.  FILE* f=fopen("h.bin", "ab");
  4.  long int h[6];
  5.  fread(h,sizeof(long int),6,f);
  6.  fwrite(h,sizeof(long int),6,f);
  7.  fflush(f);
  8.  fclose(f);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement