 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Arsène Guest
|
Posted: Tue Jul 18, 2006 12:24 am Post subject: Multidimentionnal DynamicArray |
|
|
I want to create a 2 dimensionnal DynamicArray of type double.
I can't set the second dimension. This is the code.
DynamicArray < DynamicArray<double> > Tab;
Tab.set_length(10);
for (int i=0; i < 10; i++)
{
Tab[i];
}
I get a nessage error when I want to set the dimension for Tab[i]. However, I have no problem to do it if I use an AnsiString.
If I write:
DynamicArray < DynamicArray<AnsiString> > Tab;
I can set the 2 dimensions with no problem.
Thanks. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|