i am trying to create the following dynamic array :where both x and y are not constants and need to be changed within the fnct. is there any way of doing this?Code:char *someArr[x] = new char [y];
thanx sophie
i am trying to create the following dynamic array :where both x and y are not constants and need to be changed within the fnct. is there any way of doing this?Code:char *someArr[x] = new char [y];
thanx sophie
Try this:
Code:char *someArr; y = GetSize (); someArr = new char [y];
no good...that creates a one dimentional array...mine needs to be multidimentional
simple is always an understatement.....
WOW!Originally posted by Salem
You're not going to believe this!