How do I declare multi dimensional arrays?
Worked... but...Code:char *ptr; ptr = new char[size];
Gives an error 'Cannot convert char* to char **'.Code:char **ptr; ptr = new char;
Obviuosly gave an error 'The size of ptr is unknown or zero.'Code:char * ptr; ptr = new char ;
I tried some other combinations in vain; but they gave errors like 'Lvalue required'.
I checked many books, but they only give the syntax for single dimensional arrays...
Please Excuse if this question looks really stupid or if the answer is obvious...