I’ve been programming again a bit lately…
In my app I’d like to have two-dimensional arrays.
The first one should hold pointers to TextEditors:
typedef OwnedArray<TextEditor> RowArray;
Is this a good way to do it? Any better ideas?
How can I delete the 2D-array and all TextEditors in it?
delete editor2DArray[i]; Is this right?
I need also a 2D-array that holds strings should I do it the same way?
How can I delete this one (and all Strings in it)?
Is it possible to overload a double bracket operator to work like this:
String foo = my2DstringArray[i][j];
Thx for your help!