Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE *f = fopen("matrix1.bin","w");
- if(f == NULL){printf("The file could not be opened properly");}
- fprintf(f,"%.01f %.01f\n%.01f %.01f", matrix1[0][0], matrix1[0][1], matrix1[1][0], matrix1[1][1]);
- fclose(f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement