Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi,
I am trying to port some C++ code that uses dynamic memory allocation for a few temporary float arrays. When I am in debugging mode, I notice that when the array pointers are instantiated, they all point to address 0x0. Why is this happening? I would expect that the address to which each pointer points is different and is located somewhere in the heap memory region. I am using the following code to create a dynamically allocated array:
float* this_bin = new float[num_fft_bins];
Thanks Fanis, for letting us know, and sharing your solution with the community.
Stephen