Marcus Lee / LinearArray
Revision:
10:864b79e79ca8
Parent:
9:68d882e457c5
Child:
11:1e27a6f0b0cf
Child:
12:e4f557b33732
--- a/linearArray.hpp	Tue Mar 14 10:05:47 2017 +0000
+++ b/linearArray.hpp	Tue Mar 14 12:12:53 2017 +0000
@@ -1,6 +1,13 @@
+
+
+//Serial pc(PTE0,NC);
+
 template<class type>
 LinearArray<type>::LinearArray(int size, bool forced) :
 		_elem_count(0), _array_size(size), _front(0), _rear(-1), _forced(forced) {
+
+		linear_array_count++;
+		linear_array_memeory_used += sizeof(type) * size;
 	_array = new (std::nothrow) type[size];
 }