[PD-dev] how to dinamically allocate t_atom & t_float size?

Claude Heiland-Allen claude at mathr.co.uk
Fri Dec 4 12:40:32 CET 2020


Hi,

On 03/12/2020 23:58, David Rush wrote:

> if you want to do it the C++ way without a std::vector<t_atom>
>
>         t_atom* at = new t_atom[ac];
>
> but again you will have to
>
>         delete at;
>
This should be delete[] at;


Claude
-- 
https://mathr.co.uk






More information about the Pd-dev mailing list