summaryrefslogtreecommitdiff
path: root/I_anno/Programmazione_1/ex13.cc
diff options
context:
space:
mode:
Diffstat (limited to 'I_anno/Programmazione_1/ex13.cc')
-rw-r--r--I_anno/Programmazione_1/ex13.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/I_anno/Programmazione_1/ex13.cc b/I_anno/Programmazione_1/ex13.cc
index bc0a6b5..f9f19fa 100644
--- a/I_anno/Programmazione_1/ex13.cc
+++ b/I_anno/Programmazione_1/ex13.cc
@@ -2,8 +2,6 @@
#include <memory>
#include <algorithm>
#include <vector>
-#define K2 2
-#define N2 3
using namespace std;
template<int N, int K>
@@ -26,6 +24,7 @@ unique_ptr<double[]> func(int (&A)[K][N], int (&B)[N][K]) {
}
int main() {
+ const int N2 = 3, K2 = 2;
int A[K2][N2] = {
{3, 7, 10},
{5, 12, 32},