harray - A automatically resizing array class.
C++
This C++ template class is exactly the same as the std::rvector<T, Alloc> class. It is here for backward compatibility. See the documentation on std::rvector for more information.
#include <harray.h>
int main()
{
harray<int> A;
int i,N;
for(i=0;i<100;i++) {
A[i]=i*i;
}
for(i=0,N=A.len();i<N;i++) {
printf("%d*%d=%d\\n",i,i,A[i]);
}
return 0;
}
Hans Oesterholt-Dijkema <hdnews -at- gawab.com>
(c) 2000 - 2004 Hans Oesterholt-Dijkema.
This header file has been release under Artistic License.
$Id: harray.h,v 1.7 2004/07/19 12:08:45 cvs Exp $
Latest releases of all packages can be found here. harray is part of the rvector package.



