Newsgroups: comp.os.msdos.djgpp From: Sam Davies Subject: Help! Variable allocation! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: Mime-Version: 1.0 Date: Sun, 21 Sep 1997 23:17:08 GMT Lines: 25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi! I'm new to DJGPP, but for some reason, a piece of code that I wrote doesn't seem to run correctly. Here it is: polygon polygon::operator =(const polygon &src) { if(nv) delete vlist; nv = src.nv; vlist = new point[nv]*; for(int i=0;i