--- ./sources/vector.c.orig Thu Oct 10 12:01:35 1996 +++ ./sources/vector.c Tue Aug 16 22:37:14 2005 @@ -5,12 +5,14 @@ Part of the Kaskade distribution */ +#include +using namespace std; template Vector:: ~Vector() { v+=l; delete[] v; } template void Vector:: allocate (int l1, int h1) -{ - l=l1; h=h1; +{ + l=l1; h=h1; if (h < l) { cout << "\n*** Class vector: wrong indices: l,h = " << l << " " << h << "\n"; @@ -23,7 +25,7 @@ cout.flush(); abort(); } v -= l; -} +} template void Vector:: resize(int newl, int newh) {