Raised This Month: $ Target: $400
 0% 

[ TUT ]Dynamic Array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-08-2014 , 16:44   Re: [ TUT ]Dynamic Array
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
But, before we start what is a regular array ? This quote from wiki is self explanatory:


However, you are limited to only 3 dimensions.
Code:
//This is completly valid new test[34][34][45] //This will throw an error new test[34][34][45][87]

But, let's go back to the topic. A dynamic array basically do the same, but you can have unlimited storage space, with an dyn array you assign data to a cell. If you want a comparasion between tries and dyn arrays read this: https://forums.alliedmods.net/showthread.php?t=88396
Dynamic arrays are limited to two dimensions, FYI. The first dimension if dynamic and the second is static.
__________________

Last edited by fysiks; 10-08-2014 at 16:45.
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode