Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool record_to_file(double array[array_size]) {
- FILE *file = fopen("array.txt", "w");
- for(int i=0;i<array_size;i++){
- fprintf(file, "%.10f\n", array[i]);
- }
- return fclose(file);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement