Closed halabikeren closed 7 years ago
Hi,
Is there an object, like c++ vector, in HBL, that doesn't required dimensions specification ahead, and can be expanded dynamically?
Thanks! Keren
Dear Keren,
Yes, HyPhy has associative arrays, which can be allocated dynamically.
associative arrays
Example:
foo = {}; foo["bar"] = "baz"; fprintf(stdout,foo);
Best, Steven
Thank you!
Hi,
Is there an object, like c++ vector, in HBL, that doesn't required dimensions specification ahead, and can be expanded dynamically?
Thanks! Keren