From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: Q: 2 dimensional array with STL is possible? Date: 19 Aug 2001 17:21:08 -0400 Organization: MindSpring Enterprises Lines: 17 Sender: nate AT mercury DOT bitbucket Message-ID: <837kvzg30b.fsf@mercury.bitbucket> References: <9lor3c$37cki$1 AT reader02 DOT wxs DOT nl> NNTP-Posting-Host: a5.f7.74.2f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Server-Date: 19 Aug 2001 21:21:08 GMT User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "jansb000" writes: > Is it possible (and wise) to define a 2 dimensional array in STL? I guess > the code would be: > > vector> arint2d; > > If this is at all possible, how can I resize/initialize the thing? Would > that be possible in a "arint2d[x][y]" manner? That seems like it would work, although I don't know for sure. Why not try it? -- Nate Eldredge neldredge AT hmc DOT edu