Advertisement
Guest User

Untitled

a guest
Sep 17th, 2014
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. void save_array(double M[5][5],file_name)
  2. {   ofstream fout;
  3.     char file_name[] = "5x5_array.txt";
  4.     fout.open(file_name)
  5.     if(fout == NULL){
  6.         cout << "\nfile open error";
  7.         return 1;
  8.     }
  9.     fout << void computer_array << endl;
  10.     fout.close()
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement