|
-
April 16th, 1999, 01:21 AM
#1
new operator
How can I use 'new' to create a multi-dimensional array?
Currently I have :
/////////////////////////////
char* myarray;
myarray = new char[100][256];
/////////////////////////////
but this doesnt work! Am I doing something wrong, or will I have to settle for :
myarray = new char[100*256];
???????
Thanks,
Sean.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|