| delorie.com/archives/browse.cgi | search |
| From: | Sigurdur Smarason <ssmaraso AT emerald DOT tufts DOT edu> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | newbie: new pointers |
| Date: | 14 Oct 1998 16:19:30 GMT |
| Organization: | Tufts University |
| Lines: | 9 |
| Message-ID: | <702iui$rvl$1@news3.tufts.edu> |
| NNTP-Posting-Host: | emerald.tufts.edu |
| X-Trace: | news3.tufts.edu 908381970 28661 (None) 130.64.1.16 |
| X-Complaints-To: | news AT news DOT tufts DOT edu |
| X-Newsreader: | TIN [UNIX 1.3 unoff BETA 970705; alpha OSF1 V4.0] |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I know that this gives me a compiler error, so what is the correct way of declaring it? (the error is casting a 'float *' to a 'float (*)[2]') float *mass= new float[i][2]; Siggi
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |