delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/08/14:17:17

From: "Daniel Urquhart" <NoSpamdurquhart AT jlcrowe DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Dynamic Arrays and C++
Date: Sat, 4 Jul 1998 05:11:32 -0700
Organization: BCTEL Advanced Communications
Lines: 12
Message-ID: <6o0ck8$hs0$1@news.bctel.net>
References: <AEA709B50D3807D4 DOT DBB9E9D19B2BCC95 DOT 9840599F888D1195 AT library-proxy DOT airnews DOT net>
NNTP-Posting-Host: tral01m01-56.bctel.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>Ok, I don't usually post here, but I've run out of options.  I've been
>trying to figure out why I'm getting an error on this line of code:
>
>   int *test = new int[8][8];


Try just using an auto array if it is that small.

// use this instead
int test[8][8];


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019