Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1.     FILE *f = fopen("matrix1.bin","w");
  2.     if(f == NULL){printf("The file could not be opened properly");}
  3.     fprintf(f,"%.01f %.01f\n%.01f %.01f", matrix1[0][0], matrix1[0][1], matrix1[1][0], matrix1[1][1]);
  4.     fclose(f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement