From: silkwodj AT my-dejanews DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: initalize dynamic array Date: Thu, 04 Feb 1999 19:39:04 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 12 Message-ID: <79ct0n$3g0$1@nnrp1.dejanews.com> References: <36b9185d DOT 2417500 AT news DOT vnet DOT net> NNTP-Posting-Host: 205.147.228.2 X-Article-Creation-Date: Thu Feb 04 19:39:04 1999 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) X-Http-Proxy: 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 205.147.228.2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <36b9185d DOT 2417500 AT news DOT vnet DOT net>, farich AT vnet DOT net (Fred A Richard) wrote: > I'm having trouble with the following code, whose purpose is to > initalize a dynamic array of int's: > > int *w = new int[3] = {1,2,3}; > I would question the need for the second assignment operator (=). -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own