Guest User

Untitled

a guest
Oct 21st, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #include<iostream>
  2. #include<stdio.h>
  3. #include<conio.h>
  4. #include<fstream>
  5.  
  6. using std::cout;
  7. using std::cin;
  8.  
  9. int main()
  10. {
  11. ofstream dosyayaz;
  12. dosyayaz.open("D:\\önemli\\kodlarım\\dosya işlemleri\\matris.txt");
  13.  
  14. int dizi[3][3];
  15. int dizi1[3][3];
  16.  
  17. cout<<"9rakam giriniz:";
  18. cin>>dizi;
  19. cout<<"9 rakam giriniz";
  20.  
  21.  
  22. {
  23. for(int i=0; i<=2; i++)
  24.  
  25. for(int j=0; j<=2; j++)
  26.  
  27. dosyayaz<<dizi[i][j];
  28.  
  29. }
  30.  
  31. getch ();
  32. return 0;
  33.  
  34. }
Add Comment
Please, Sign In to add comment