Path: utzoo!utgpu!news-server.csri.toronto.edu!eecg.toronto.edu!zq Newsgroups: comp.lang.c From: zq@eecg.toronto.edu (Qing Zheng) Subject: How to allocate an array of objects ? Message-ID: <1991May22.103750.14959@jarvis.csri.toronto.edu> Distribution: comp Date: 22 May 91 14:37:50 GMT Lines: 12 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