Multi Dynamic Arrays - Possible?
Hello guys :)
i need some advice how to do this in Dynamic Arrays. PHP Code:
|
Multi Dynamic Arrays - Possible?
Look at celltries.
|
Re: Multi Dynamic Arrays - Possible?
Or dynamic array with pseudo struct (enum), if each item contains 4 strings.
PHP Code:
|
Re: Multi Dynamic Arrays - Possible?
I used a dynamic array of dynamic arrays for Polymorph. The primary dynamic array simply held the pointers to the other dynamic arrays.
So, it really depends on what you are doing. |
Re: Multi Dynamic Arrays - Possible?
Quote:
|
Re: Multi Dynamic Arrays - Possible?
PHP Code:
|
Re: Multi Dynamic Arrays - Possible?
Now I realize that enums are just one array and a collection of memory offsets.
Code:
Code:
0, 32, 64, 96 |
Re: Multi Dynamic Arrays - Possible?
What can be usefull here is that sizeof(_array[m_szString2]) returns 32
|
| All times are GMT -4. The time now is 18:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.