How do I declare multi dimensional arrays?
ptr = new char[size];
Gives an error 'Cannot convert char* to char **'.
ptr = new char;
Obviuosly gave an error 'The size of ptr is unknown or zero.'
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...