Adding now returns a Matrix object

This commit is contained in:
2024-12-24 14:05:08 +01:00
parent 6eb4b00c12
commit 78a8185e19
2 changed files with 26 additions and 19 deletions

View File

@@ -1,4 +1,3 @@
#include<iostream>
#include "matrices.h"
// using namespace std;
@@ -14,5 +13,7 @@ int main()
a.Print("A");
b.Print("B");
a.Add(&b).Print("A + B");
return 0;
}