From 6cc98762e5e0c18e4b2c1cbe29d42ae485774609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Ri=C3=9F?= Date: Wed, 23 Dec 2009 17:50:54 +0100 Subject: =?UTF-8?q?Neue=20Klasse=20f=C3=BCr=20die=20Temperaturberechnung?= =?UTF-8?q?=20angefertigt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Temparray.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Temparray.h diff --git a/Temparray.h b/Temparray.h new file mode 100644 index 0000000..05be3a0 --- /dev/null +++ b/Temparray.h @@ -0,0 +1,23 @@ +#ifndef _TEMPARRAY_H_ +#define _TEMPARRAY_H_ + +#include "Cubehole.h" + +class Temparray +{ + public: + Temparray(float initialtemp, int size0[3]){ + teperature = new float[size0[0]][size0[0]][size0[0]][4][6]; + cubearray = new Cubehole[size0[0]][size0[0]][size0[0]]; + } + ~Temparray(){ + delete[] temperature; + delete[] cubearray; + } + + private: + float *temperature = 0; + Cubehole *cubearray = 0; +}; + +#endif /* _TEMPARRAY_H_ */ -- cgit v1.2.3