How to allocate an array of objects ?

Qing Zheng zq at eecg.toronto.edu
Thu May 23 00:37:50 AEST 1991


  Does somebody has a nice way to allocate an array of objects using
  operator new ? The elements of the array have to be initialized to
  distint values. I was wondering wether the overloading of operator
  new() can handle this.


  Thanks in advance.


  -----Qing





More information about the Comp.lang.c mailing list