delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/19/13:59:06

From: "jansb000" <jansb000 AT wxs DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Q: 2 dimensional array with STL is possible?
Date: Sun, 19 Aug 2001 19:09:08 +0200
Organization: Planet Internet
Lines: 9
Message-ID: <9lor3c$37cki$1@reader02.wxs.nl>
NNTP-Posting-Host: ipc3797b04.dial.wxs.nl
X-Trace: reader02.wxs.nl 998240172 3388050 195.121.123.4 (19 Aug 2001 16:56:12 GMT)
X-Complaints-To: abuse AT wxs DOT nl
NNTP-Posting-Date: 19 Aug 2001 16:56:12 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Is it possible (and wise) to define a 2 dimensional array in STL? I guess
the code would be:

vector<vector<int>> arint2d;

If this is at all possible, how can I resize/initialize the thing? Would
that be possible in a "arint2d[x][y]" manner?


- Raw text -


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