1. Mille's library is great for what you want - and to give you a simple explanation of how it works - there is no dynamic array/pointer/collection, so Mille is simply storing the data in the Data Table, which uses a string key, and is therefore easy to index with no fixed size.
2. Depends on what kind of AI you are talking about.
1. Dynamic arrays, pointers, collections (except for static arrays). Is there anything to this?
2. How to create your AI? Triggers an inefficient and difficult path.
For dynamic containers, check out my library. :)
http://www.sc2mapster.com/forums/resources/trigger-libraries/64793-generic-container-library-with-gui-support/
@iqddd: Go
1. Mille's library is great for what you want - and to give you a simple explanation of how it works - there is no dynamic array/pointer/collection, so Mille is simply storing the data in the Data Table, which uses a string key, and is therefore easy to index with no fixed size.
2. Depends on what kind of AI you are talking about.