Initializing dynamic memory based off of a parameter #2721
-
I have a component in which I want to create a heap array of a size defined in a parameter. Because heap memory allocation should be kept to initialization, I want this to happen as soon as possible after parameters are loaded from the file. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I would do it the exact same way for what it's worth. After |
Beta Was this translation helpful? Give feedback.
I would do it the exact same way for what it's worth. After
loadParameters()
but before the software starts cycling.