[ad_1]
It’s C++:
- don’t use
malloc, usenew - don’t use plain arrays, use
std::vectororstd::array - don’t use raw pointers, use
std::unique_ptr
1
[ad_2]
solved Failed to allocate an array of pointers to a struct
[ad_1]
It’s C++:
malloc, use newstd::vector or std::arraystd::unique_ptr1
[ad_2]
solved Failed to allocate an array of pointers to a struct