Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!milano!cadillac!redcloud!rpj From: rpj@redcloud.cad.mcc.com (Rich Johns) Newsgroups: comp.lang.c++ Subject: initializing array of objects Message-ID: <1284@cadillac.CAD.MCC.COM> Date: 16 Jun 89 22:43:56 GMT Sender: news@cadillac.CAD.MCC.COM Lines: 13 class Foo; Foo** fooArray; fooArray = new Foo*[100]; for (int i = 0; i < 100; i++) fooArray[i] = 0; Is there a better way to initialize fooArray? Rich Johns, MCC CAD Program | 3500 W. Balcones Center Dr., Austin, TX 78759 ARPA: johns@mcc.com | Phone: [512] 338-3714 UUCP: {uunet,harvard,gatech,pyramid}!cs.utexas.edu!milano!cadillac!johns