| www.delorie.com/archives/browse.cgi | search |
| From: | Nate Eldredge <neldredge AT hmc DOT edu> |
| 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 |
| 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" <jansb000 AT wxs DOT nl> writes: > 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? That seems like it would work, although I don't know for sure. Why not try it? -- Nate Eldredge neldredge AT hmc DOT edu
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |