Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- #include "zad4.hpp"
- using namespace std;
- int main()
- {
- srand( time( NULL ) );
- double tab[3] = { 1 , 2 ,3 };
- //Matrix macierz1;
- //Matrix macierz2(3,4);
- //Matrix macierz3(tab);
- //Matrix macierz4(macierz2);
- //macierz2.wiersze();
- //macierz2.kolumny();
- //macierz2.change(2,2);
- //macierz2.kolumny();
- //macierz2.generuj();
- //macierz2.wypisz();
- Matrix macierz1(4,4);
- macierz1.generuj();
- macierz1.wypisz();
- cout<<"----------------------"<<endl;
- Matrix macierz2(4,4);
- macierz2.generuj();
- macierz2.wypisz();
- Matrix macierz3(4,4);
- macierz3.generuj();
- macierz3.wypisz();
- macierz3-1;
- macierz3.wypisz();
- cout<<"----------------------"<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement