Sterling
DIIDevHeads IoT Integration Server
•Created by Marvee Amasi on 6/11/2024 in #📦-middleware-and-os
What is wrong with my code ?
Also, you are making use of
new
to allocate memory but free
to deallocate it, which is incorrect. You should use delete[]
to free memory allocated with new[]
.Plus, In embedded environments, I think assert
may not be appropriate because it might halt the system.7 replies