S
solartimba
I have put an vector array of values within a map. What I don't know
is the syntax for accessing the individual vector values.
map[key][vectorDex].someFunc does run the function but it also creates
a runtime error.
1. What is the proper syntax?
2. Is there anything wrong with choosing this type of structure? So
far, it works.
is the syntax for accessing the individual vector values.
map[key][vectorDex].someFunc does run the function but it also creates
a runtime error.
1. What is the proper syntax?
2. Is there anything wrong with choosing this type of structure? So
far, it works.