From: psilocyn AT ziplink DOT net (Jeff W.) Newsgroups: comp.os.msdos.djgpp Subject: Deleting mem allocated to dynamic array? Date: Mon, 22 Jun 1998 20:03:16 GMT Organization: AT&T WorldNet Services Lines: 15 Message-ID: <6mmd9s$o7f@bgtnsc03.worldnet.att.net> NNTP-Posting-Host: 12.64.168.114 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I declared an array like this: MapStruct **Tiles and allocated memory to it like this: Tiles = new MapStruct *[XSize]; for (int i = 0; i < XSize; i++) Tiles[i] = new MapStruct[YSize]; XSize and YSize being the width and height of the map. My question is, how do I delete the memory I allocated to this array? Thanks. --Jeff W.