home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!edcastle!dcs.ed.ac.uk!tk
- From: tk@dcs.ed.ac.uk (Tommy Kelly)
- Newsgroups: cs.questions,comp.lang.c++
- Subject: Dynamic Multidimensional Array Allocation in C++
- Message-ID: <C0C68I.MA7@dcs.ed.ac.uk>
- Date: 4 Jan 93 15:41:06 GMT
- Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
- Reply-To: tk@dcs.ed.ac.uk (Tommy Kelly)
- Organization: Laboratory for the Foundations of Computer Science, Edinburgh U
- Lines: 11
-
- How do I implement a dynamically configurable two dimensional array in C++?
-
- For one dimension its easy, but doing:
-
- my_type *my_type_var = new my_type[a][b];
-
- doesn't seem to work.
-
- thanks for any help.
-
- tk
-